Week 3: Exploring Dataframes โ grouping and plotting
Learning Objectives
By the end of this week, students will be able to:
- Use
groupbyto aggregate data across categories - Apply aggregation functions (mean, count, sum) to grouped data
- Produce basic plots (histograms, bar charts, scatter plots) with matplotlib or seaborn
- Interpret visualizations critically and describe what they show and hide
Perspectival Reading
Reading: TBD
Reflection Questions
- Aggregation compresses individual experiences into summary statistics. What is lost in that compression?
- Visualizations make certain patterns visible and others invisible. Who designs them, and for whom?
- The choice of grouping variable structures what stories a dataset can tell. What stories go untold?
Slides
Notebook Demo
Open in Google Colab (link TBD)
Lab Assignment
Week 3 Lab โ GitHub Classroom (link TBD)