This GitHub repository contains the materials for a 5-day, 2-hr/day Python short course. This course is designed for incoming UC Berkeley Statistics Masters students.
Since the class has a wide range of Python backgrounds, I've structured the short course as a series of self-paced labs. The goal is to finish one lab a day. To challenge even the students with Python background, there are eight labs ranging in difficulty from beginner to advanced.
At the end of each day, students will fill out this Google Form to report their daily learning progress: http://bit.ly/py-report . This will help me keep track of learning goals and better serve the class.
To access each lab, click the link under the Topic column in the table below. All labs will be completed on Berkeley's hosted Jupyter environment. If you would like to work on the labs locally, you can install the Anaconda distribution at https://docs.anaconda.com/anaconda/install/ .
Lab | Topic | Data | Readings | Modified From |
---|---|---|---|---|
01 | Intro to Jupyter and Python | Data 8 Ch 3 | Data 8 Lab 01 | |
02 | Data Types, NumPy, pandas | IMDB Movie Ratings | Data 8 Ch 4 and 5, Data 100 Ch 3 | Data 8 Lab 03 |
03 | pandas (Part 1) | SF Restaurant Health Ratings | Data 100 Ch 3 | Data 100 Project 1 |
04 | pandas (Part 2) | SF Restaurant Health Ratings | Data 100 Ch 6 | Data 100 Project 1 |
05 | Data Viz (Part 1) | SF Bikeshare Trips | Data 100 Ch 6 | Data 100 HW2 |
06 | Data Viz (Part 2) | SF Bikeshare Trips | Data 100 Ch 6 | Data 100 HW2 |
07 | EDA and Text (Part 1) | Trump Tweets | Data 100 Ch 8 | Data 100 HW3 |
08 | EDA and Text (Part 2) | Trump Tweets | Data 100 Ch 8 | Data 100 HW3 |
PS: Here's a list of Sam's favorite restaurants in the Berkeley area:
Name | Meal | What to Get? | Price Range |
---|---|---|---|
Stuffed Inn | Lunch Only | Sandwich + Soup | < $10 |
Imm Thai | Lunch + Dinner | Duck Noodle Soup | $10-15 |
Cheeseboard | Lunch + Dinner | Pizza of the Day | $10 |
Toss Noodle | Lunch + Dinner | Hokkien Noodles in Soup | $10 |
Eureka | Lunch + Dinner | Burger + Beer | $15-20 |
Vik's Chaat | Lunch + Dinner | Cholle Bhature, Biryani | $10-15 |
Pho Ao Sen | Lunch + Dinner | Pho, Chicken Wings | $10-15 |
Royal Rangoon | Dinner | Tea Leaf Salad | $15-20 |
Kamado Sushi | Dinner | Chirashi Plate | $20-25 |
Noodle Theory | Dinner | Chicken Karaage Ramen | $15-20 |
Caravaggio | Dessert | Gelato | $4-5 |
Asha Tea | Tea | Matcha Latte | $4-5 |
La Farine | Bakery | Fruit Tart, Walnut Levain | $5 |
Acme Bread | Bakery | Pain Epi, Almond Croissant | $5 |