Project 0: Introduction
Walkthrough
Background
We will complete six projects during the semester that each take about two weeks (four days of class). On average, a student will spend 2 hours outside of class per hour in class to complete the assigned readings, submit any Canvas items, and complete the project (for a total of 8 hours per project). The instruction for each project will be structured into sections as written on this page.
This first Background section 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 get VS Code prepped for data science programming. Completing Project 0 will set you up for success the rest of the semester.
Data
Every data science project should start with data, and our class projects are no different. Each project will have ‘Download’ and ‘Information’ links like the ones below.
URL: penguins data
= load_penguins()
penguins penguins
Readings
The Readings section will contain links to reading assignments that are required for each project, as well as optional references. Remember that you are reading this material to build skills. Take the time to comprehend the readings and the skills contained within.
We recommend reading through the assigned material once for a general understanding before the first day of each project. You will reread and reference the material multiple times as you complete the project.
The readings listed below are required for the first two days of class.
- 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
This section lists the questions and tasks that need to be completed for the project. Your work on the project must be compiled into a report, rendered to a HTML file and uploaded in Canvas.
- Download this Project0 Template template as has working code for the Penguine data set. You need to finish the project by updating its markdown so that it is a report by completing the following tasks:
- Include the tables created from PY4DS: CH2 Data Visualization used to create the above chart
- 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 used to create the above chart
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 displas 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)
- 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 and select
Reveal in File Explorer
(Win) orReveal in Finder
(Mac)
- Right click on the file in the file explorer and select
- Upload
HTML
file into Canvas
Deliverables:
Deliverables are “the quantifiable goods or services that must be provided upon the completion of a project”. In this class the deliverable for each project is a GitHub published report created using Quarto files. This final section will be the same for each project.
Use this P0_template to submit your Client Report.
- The template should include answers to the questions | tasks. Each should include a written description of your results, code cells with comments, charts and/or tables.
- Write short summary of work must be submitted in the comments in Canvas wwhen you submit the URL. Rate your own work on a scale of 1-5 (See the Rubric for Details) Include a short description of why you rated your work the way you did.
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)
Feedback:
If you submit before the due date, you will recieve feedback and/or coaching notes. You will need to address the feedback, re-render and resubmit the project.
Resubmission:
If you submit before the due date, you will have one opportunity to resubmit the project after you have received feedback. The window for the resubmission will be open through the Wednesday following the due date of the project.