Project 0: Introduction

Published

May 1, 2020

Background

Each assignment will have a Background section that provides context for the project. Make sure you read the background carefully to see the big picture needs and purpose of the project.

Python and VS Code are tools commonly used in the field of data science. During our first two days of class we will primarily be installing software, libraries, extensions, etc. Completing Project 0 will set you up for success the rest of the semester. Since this project is strictly about software installation, there is no contextual background for this project.

Data

This project will use the Palmer Penguins data set. This dataset is embedded in a library we will load, so there is no need to read it in from the link below. But in future assignments, data for the assignment can be found in this section.

URL: penguins data

Readings

Please do the assigned before coming to class!

Many people have different levels of experience with Python, VS Code, and programming in general. That is why there are so many and why skimming may be a good strategy for some students, but not for others.

Optional References

Questions and Tasks

  1. Download this Project0 Template. The template has working code for the Penguine data set. You need to finish the project by adding code to recreate charts from the book. More specifically, copy and paste code from the book into this template quarto file to:
    1. Include the tables created from PY4DS: CH2 Data Visualization
    2. Recreate the example charts from PY4DS: CH2 Data Visualization of the textbook.
    3. Follow the instructions in the submission section below to submit your work

The main purpose of this project is to ensure your set-up and installations are done correctly. You will know this is the case if you can create an html file with those graphs and table in it.

Submission:

When you have completed the report, you will need to follow this process to submit your work:

  1. Have the P0_template open in VS Code and nothing else
  2. Click Preview Button in VS Code in the top right of the screen
    1. This will render the project but also entire course work portfolio into HTML files for review
    2. Confirm everything displays as you would like it to
    3. How you see it will be how it is viewed for grading
    4. If there is an error in any cell of the quarto files, the rendering will stop and you will need to fix the error before rendering again (if you get stuck post your error in Slack #tutoring_lab channel)
  3. Once the report is confirmed close the preview and open a VS Code Terminal
    1. click Terminal in the top menu bar and then New Terminal
  4. Type the following in the terminal quarto render
    1. Then drag and drop P0_template.qmd into the terminal this will add the file path to the terminal command
    2. Press Enter
  5. This will render the project into a HTML file in the same location as the .qmd file
  6. To locate the file in VS Code
    1. Right click on the file in the file explorer menu on the left side bar of VS Code and select Reveal in File Explorer(Win) or Reveal in Finder(Mac)
  7. Upload HTML file into Canvas

Deliverables:

Use this P0_template to submit your Client Report.

  1. The template should include answers to the tasks. Each should include a written description of your results, code cells with comments, charts and/or tables.
Note

Your report should be written in quarto markdown files and rendered to an HTML File. Upload the HTML file in Canvas. (Do not submit the .qmd file)

Back to top