Skip to content

practical-bootcamp/week4-assignment1-template

Repository files navigation

week 4 assignment

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.

Assignment instructions

This repository uses automated grading (or testing). When starting, all automated tests will fail. Your task is to make them all pass.

  1. This repository has a requirements.txt file that you will need to install in your system. Use python -m venv venv and then source venv/bin/activate. Use these instructions for other systems. Finally, use pip install -r requirements.txt to install the dependencies
  2. Go to the assignment.ipynb Jupyter Notebook and go through each of the question sections.
  3. Follow the instructions for each code cell. Sometimes a new variable needs to be created. Other times a pre-created variable must be reused.
  4. Every time you push it will trigger automated tests. Each section might represent a few tests. Ensure you don't change the variable names.
  5. 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.

Resources

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.

GitHub Copilot

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.

How to get GitHub Copilot for free

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

How do I use Copilot

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.

week 4 Reference Content

  1. Load and export data from different sources
  2. Manipulate data in datasets
  3. Perform common operations on NumPy arrays

Reading and code resources

Course video and links

🎥 Click the image below to access week 4 of the full course on O'Reilly

O'Reilly

This assignment is for week 4 (out of 4) of the Python Bootcamp for Data. The whole course has four weeks:

Bonus challenge

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.

About

Template for week 4 assignment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published