Project 0: Introduction
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.
- Course Setup (Do)
- Learn about our Book Python for Data Science (Skim)
- PY4DS: First Steps (Skim)
- PY4DS: CH1 Whole Game (Skim)
- PY4DS: CH2 Data Visualization (Read)
- P4DS: CH30 Markdown (Read)
- P4DS: CH31 Quarto (Skim)
- Quarto Instructional Template for DS (Read)
Optional References
Questions and Tasks
- 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:
- Include the tables created from PY4DS: CH2 Data Visualization
- Recreate the example charts from PY4DS: CH2 Data Visualization of the textbook.
- Follow the instructions in the submission section below to submit your work
- Include the tables created from PY4DS: CH2 Data Visualization
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:
- Have the
P0_template
open in VS Code and nothing else - Click
Preview Button
in VS Code in the top right of the screen- This will render the project but also entire course work portfolio into
HTML
files for review - Confirm everything displays as you would like it to
- How you see it will be how it is viewed for grading
- 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)
- This will render the project but also entire course work portfolio into
- Once the report is confirmed close the preview and open a VS Code
Terminal
- click
Terminal
in the top menu bar and thenNew Terminal
- click
- Type the following in the terminal
quarto render
- Then drag and drop
P0_template.qmd
into the terminal this will add the file path to the terminal command - Press Enter
- Then drag and drop
- This will render the project into a
HTML
file in the same location as the.qmd
file - To locate the file in VS Code
- 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) orReveal in Finder
(Mac)
- Right click on the file in the file explorer menu on the left side bar of VS Code and select
- Upload
HTML
file into Canvas
Deliverables:
Use this P0_template to submit your Client Report.
- 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.
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)