Python Bootcamp for Data week 4 assignment
This week you learned how to work with data using Pandas and NumPy. From loading and reading datasets from different sources to plotting graphs and exploring common problems in data. You'll use that knowledge to complete the assignment in this repository using a Jupyter Notebook. The questions are in markdown cells while your work has to go in the code cells. Some variables are pre-defined for you, make sure you don't remove or change them because the automated tests rely on them.
💡 This template repository is made for GitHub Classroom delivery, but can be used independently if you want to learn on your own.
This repository uses automated grading (or testing). When starting, all automated tests will fail. Your task is to make them all pass.
- This repository has a
requirements.txt
file that you will need to install in your system. Usepython -m venv venv
and thensource venv/bin/activate
. Use these instructions for other systems. Finally, usepip install -r requirements.txt
to install the dependencies - Go to the assignment.ipynb Jupyter Notebook and go through each of the question sections.
- Follow the instructions for each code cell. Sometimes a new variable needs to be created. Other times a pre-created variable must be reused.
- Every time you push it will trigger automated tests. Each section might represent a few tests. Ensure you don't change the variable names.
- Repeat the fix/push/verify cycle until all tests are passing and the actions tab shows a green.
💡 As part of the GitHub Classroom setup, you might get an automated Pull Request created for direct feedback by your Professor or by the TAs.
Use the linked resources in this section to review and reference any of the previously covered content. All questions in this assignment come from content previously covered in the bootcamp course.
In this assignment, you'll use GitHub Copilot. If you are using Codespaces, then the extension is already installed for you. Otherwise you can search for it in extensions on Visual Studio Code, and then install it.
If you have an educational email address (usually one that ends on .edu
) then you can validate your student or faculty status by following this guide
Copilot is an AI-assistive technology that will suggest you completions that you must verify as correct. Suggestions are accepted by hitting the Tab
key. You can also write a prompt as a comment. Suggestions will be generated after you hit the Enter
or Return
keys.
Use the following videos from Microsoft as a reference on how to get started.
- Load and export data from different sources
- Manipulate data in datasets
- Perform common operations on NumPy arrays
- week 1: Introduction to Python
- Week 2: Python Functions and Classes
- Week 3: Testing In Python
- Week 4: Introduction to Pandas and Numpy
- Testing In Python book
- Minimal Python book
- Free Azure Certification for Students
- Python for Beginners Learn Path
🎥 Click the image below to access week 4 of the full course on O'Reilly
This assignment is for week 4 (out of 4) of the Python Bootcamp for Data. The whole course has four weeks:
- week 1: Introduction to Python
- Week 2: Python Functions and Classes
- Week 3: Testing In Python
- Week 4: Introduction to Pandas and NumPy
Open the bonus-assignment.ipynb Jupyter Notebook and go through each of the question sections. Follow the instructions for each code cell. This bonus assignment is not graded and will not trigger auto-grading. It is meant to be a challenge for you to practice what you learned in the course.