Boot-camp: week-04

Overview:
Welcome to week-4 of the DSAN bootcamp!!! This week we will be covering the following topics
- Introduction to Packages: Importing and Aliasing
- Numpy: Speed and Efficiency, Working with Matrices
- Pandas: Data Manipulation, Augmentation, Performing Statistics
By the end of this module, you will be capable of answering the following questions (give them a try!):
Note: Answering the questions is NOT required, however, the questions are designed to look like sample interview questions and will test your knowledge of the materials in this module.
- Why are numpy and pandas a key part of most data scientists’ workflows? Compare and contrast them and provide use cases for both.
- Write a Python function that: turns a
.csvinto aDataFrame, switches the rows and columns of theDataFrame, and writes the newDataFrameto a.csvfile.
Lecture:
An html version of the lecture notebook can be found at the following link (view lecture html).
The lecture content can be downloaded by clicking the following link:
The best way to digest this information is to download the .ipynb file and work through it yourself in Jupyter or VS code. While doing so, make sure that you understand the code entirely.
In some sense, “Understanding the code” means you can correctly predict the output of each line without actually having to run it.
Lecture video
While not required to watch, a video walkthrough of the lecture notebook highlighting important aspects of the lesson has been provided below.
VIDEO PLAYBACK SPEED: To speed up, or slow down the video, right click the video, select show all controls, click the three vertical dots on the left, and select the desired playback speed.
Assignment
Once you have “digested” the lesson, you will be able to do the assignment (view assignment html).
The assignment content can be downloaded by clicking the following link:
When you are done email the completed assignment to your designated TA using the zip file format specified in the document.
Use the following naming convention for the file: FIRSTNAME_LASTNAME_ASSIGNMENT4.zip
- For example, If your name was Jane Doe, then the zipped folder should be called JANE_DOE_ASSIGNMENT4.zip
References
Disclaimer: This document is not an original work. It contains content from many sources and is for educational purposes only.
Sources:
- https://www.w3schools.com/python
- https://docs.python.org/3/tutorial/
- Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and the Cloud. Pearson Education