GSB 5544 — Data Science with Python

Course notebooks. Student versions have blanks to fill in; Solution versions are completed and rendered with outputs. Interactive pages run in the browser and pair with the notebook listed beside them. Extended notebooks are fully worked walkthroughs: the question behind each step, the tables before and after.

Week 1 — Python, NumPy, and Pandas Foundations

PA 1.1 — Decode the Message

Topic 1.2 — Intro to Pandas (lecture notes)

PA 1.2 — Intro to Pandas

Topic 1.3 — Pandas Fundamentals

Topic 1.4 — NumPy Essentials

Week 2 — Data Visualization and Wrangling

Topic 2.1 — Data Visualization (plotnine & the grammar of graphics)

PA 2.1 — Grammar of Graphics

Topic 2.2 — Data Wrangling (tidy data & the Big Five verbs)

PA 2.2 — Wrangling and Summarizing Data

Week 3 — Joining, Merging, and Distances Between Observations

Pandas in motion — interactive joins, concat, and reshaping (Learn + Quiz)

Topic 3.1 — Joining and Merging Data (pairs with the interactive page)

PA 3.1 — Concatenating, Joining, and Pivoting (MovieLens)

Topic 3.2 — Distances Between Observations (types, why, when)

PA 3.2 — Distances Between Observations (Ames housing & College Scorecard)

Week 4 — Text Data: Strings, Regular Expressions, and TF-IDF

Topic 4.1 — Text as Data (bag of words, TF-IDF, cosine distance)

PA 4.1 — Text Data: Spam Emails (Enron corpus)

Topic 4.2 — Strings and Regular Expressions

PA 4.2 — Decode a Message (strings & regex)