Data 6: Introduction to Computational Thinking with Data Science and Society 📊
UC Berkeley, Summer 2025
Ed Gradescope Lecture Recordings Jump to Current Week
Instructor

Week 6 Announcements
- Assignments Due
- Week 05 Survey is due on Thursday, August 14 @ 11 PM
- Final Project: Are We Cooked? is due on Saturday August 16 @ 11 PM
- Monday’s lecture will be on Zoom! Details can be found on this Edstem post.
- The Final is on Friday, 10/15, 10-12 PM @SOCS 170
- No tutoring this week
- Fill out course evaluations!
- Jedi’s OH changes to Tues-Fri, 8-10 PM on Zoom
Week 1 — Introduction to Python
- Jul 7
-
- 1 Introduction, Course Overview
- Slides
-
- 2 Jupyter Notebooks, Arithmetic
- Slides • Blank Demo
- Optional Reading: CIT 1.1, 3.1, SPR 8
- Survey Pre-Semester Survey
- Jul 8
-
- 3 Evaluations, Names, and Data Types
- Slides • Blank Demo
- Optional Reading: PPDS 1.2, CP 1.2, CIT 3.2, 4.1, 4.2, 5.1
- Lab 1 Lab 01: Using Jupyter Notebooks
- Jul 9
-
- 4 Arrays, NumPy, Indexing, Working with Data
- Slides • Blank Demo
- Optional Reading: PPDS 5.2, CIT 5.6
-
- 5 Introduction to Social Science Research
- Slides
- Homework 1 HW 01: Introduction to Python
- Jul 10
-
- 6 Table Fundamentals
- Slides • Blank Demo
- Optional Reading: CIT 6, CIT 6.2,
datascience
Documentation - Lab 2 Lab 02: Tables and Data Manipulation
- Jul 11
- Survey Week 01 Survey
Week 2 — Functions and Table Methods
- Jul 14
-
- 7 Sorting and Filtering Rows
- Slides • Blank Demo
- Optional Reading: CIT 6.1, CIT 6.2
-
- 8 Functions Part 1
- Slides • Blank Demo
- Optional Reading: CIT 8, SPR 9, PPDS 2.5
- Reading Reading 01
- Jul 15
-
- 9 Applying
- Slides • Blank Demo
- Optional Reading: CIT 8.1
- Lab 3 Lab 03: Functions
- Jul 16
-
- 10 Row Methods, Joining Tables
- Slides • Blank Demo
- Optional Reading: CIT 8.4
-
- 11 Grouping and Pivoting
- Slides • Blank Demo
- Optional Reading: CIT 7.1.3, CIT 8.3.3, Table Function Visualizer
- Jul 17
-
- 12 More Grouping and Pivoting
- Slides • Recording: Password = gY@DP7ZH • Blank Demo
- Lab 4 Lab 04: Tables
- Homework 2 HW 02: Table Methods and Functions
- Jul 18
- Survey Week 02 Survey
Week 3 — Visualization and Grouping
- Jul 21
-
- 13 Intro Visualizations
- Slides
-
- 14 Visualizing Categorical and Numerical Variables
- Slides • Categorical Variables • Numerical Variables
- Optional Reading: CIT 7.3, FDV 12.1
- Reading Reading 02
- Jul 22
-
- 15 Bickel Case Study
- Slides
- Lab 5 Lab 05: Introduction to Visualization Methods
- Jul 23
-
- 16 Visualizing Two Numerical Variables
- Slides • Blank Demo
-
- 17 Maps
- Slides • Blank Demo
- Optional Reading: Plotly Documentation
- Jul 24
-
- 18 Sampling
- Slides
- Lab 6 Lab 06: Visualizing Two Numerical Variables and Randomness in Jittering
- Homework 3 HW 03: Advanced Table Methods and Visualizations
- Jul 25
- Survey Week 03 Survey
Week 4 — Control and Iteration
- Jul 28
-
- 19 Control
- Slides
- Optional Reading: CIT 9.1; CP 1.5
-
- 20 Iteration
- Slides
- Optional Reading: CIT 9.2; SPR 12
- Reading Reading 03
- Jul 29
-
- 21 More Iteration
- Slides • Blank Demo
- Optional Reading: PPDS 2.1
- Lab 7 Lab 07: Functions, Control, Iteration
- Jul 30
-
Quiz Quiz 2
- Jul 31
-
- 22 File Formats, Dictionaries
- Slides • Blank Demo
- Optional Reading: SPR 23; CP 2.4.3
- Lab 8 Lab 08: Dictionaries
- Homework 4 HW 04: Control, Iterations, Strings
- Aug 1
- Survey Week 04 Survey
Week 5 — Project Work and LLMs
- Aug 4
-
- 23 Computational Social Science
- Slides
- Aug 5
-
- 24 Large Language Models and TF-IDF
- Slides
- Lab 9 Lab 09: APIs and Prompt Engineering
- Aug 6
-
- 25 More LLMs and Prompt Engineering
- Slides
-
- 26 Evaluation and IRR
- Slides
- Project Final Project: Are We Cooked?
- Aug 7
-
- 27 Review
- Lab 10 Lab 10: TF-IDF, Cohen’s Kappa, and Macro F1
- Aug 8
-
- Discussion 10 Impacts of LLMs
- Slides
- Survey Week 05 Survey
Week 6 — Web, Plotting, and Final Review
- Aug 11
-
- 28 Randomness, Simulation Part 1
- Slides • Blank Demo
- Optional Reading: CIT 9; CIT 9.3
- Aug 12
-
- 29 Randomness, Simulation Part 2
- Slides • Blank Demo
- Aug 13
-
- 30 Fun with Plotly
- Slides • Blank Demo
- Optional Reading: Plotly Documentation
- Aug 14
-
- 31 Conclusion and What’s Next
- Slides
- Aug 15
- Final Exam