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 1 Announcements
- Assignments Due
- Lab 01: Using Jupyter Notebooks is due on Tuesday July 8 @ 11 PM
- Pre-Semester Survey is due on Friday, July 11 @ 11 PM
- HW 01: Introduction to Python is due on Tuesday, July 15 @ 11 PM
- The first day of lecture is July 7th 10-12PM @GPBB 107
Week 1 β Introduction to Python
- Jul 7
-
- 1 Introduction, Course Overview
- Slides
-
- 2 Jupyter Notebooks, Arithmetic
- Slides β’ Demo β’ Blank Demo
- Optional Reading: CIT 1.1, 3.1, SPR 8
- Survey Pre-Semester Survey
- Reading Assignment
- Jul 8
-
- 3 Evaluations, Names, and Data Types
- Slides β’ Demo β’ 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 β’ Demo β’ Blank Demo
- Optional Reading: PPDS 5.2, CIT 5.6
-
- 5 Introduction to Social Science Research
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Homework 1 HW 01: Introduction to Python
- Survey Week 01 Survey
- Jul 10
-
- 6 Table Fundamentals
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Lab 2 NumPy, Indexing, and Working with Data
- Jul 11
-
- Discussion 1 Fractions & Health Data
- Worksheet 01
Week 2 β Functions and Table Methods
- Jul 14
-
- 7 Sorting and Filtering Rows
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
-
- 8 Functions Part 1
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Reading Assignment
- Jul 15
-
- 9 Applying
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Lab 3 Tables and Data
- Jul 16
-
- 10 Row Methods, Joining Tables
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
-
- 11 Grouping and Pivoting
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Jul 17
-
- 12 More Grouping and Pivoting
- Slides β’ Demo β’ Blank Demo
- Lab 4 Tables
- Homework 2 Table Methods and Functions
- Jul 18
-
- Discussion 2 Your Digital Self, Documentation & Table Methods
- Worksheet 02
- Reading Assignment
- Survey Week 02 Survey
Week 3 β Visualization and Grouping
- Jul 21
-
- 13 Intro Visualizations
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
-
- 14 Visualizing Categorical and Numerical Variables
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Reading Assignment
- Jul 22
-
- 15 Bickel Case Study
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
- Lab 5 Introduction to Visualization Methods
- Jul 23
-
- 16 Visualizing Two Numerical Variables
- Slides β’ Demo β’ Blank Demo
- Optional Reading:
-
- 17 Maps
- Slides β’ Demo β’ Blank Demo
- Jul 24
-
- 18 Sampling
- Slides β’ Demo β’ Blank Demo
- Lab 6 Visualizing Two Numerical Variables and Randomness
- Homework 3 Advanced Table Methods and Visualizations
- Jul 25
-
- Discussion 3 Functions & Scope, Join & Pivot Methods
- Worksheet 03
- Survey Week 03 Survey
Week 4 β Control and Iteration
- Jul 28
-
- 19 Control
- Slides β’ Demo β’ Blank Demo
-
- 20 Iteration
- Slides β’ Demo β’ Blank Demo
- Reading Assignment
- Jul 29
-
- 21 More Iteration
- Slides β’ Demo β’ Blank Demo
- Lab 7 Functions, Control, Iteration
- Jul 30
-
Quiz Quiz 2
- Jul 31
-
- 22 File Formats, Dictionaries
- Slides β’ Demo β’ Blank Demo
- Lab 8 Dictionaries
- Homework 4 Control, Iterations, Strings
- Aug 1
-
- Discussion 4 Algorithmic Bias, Visualizations
- Worksheet 04
- Survey Week 04 Survey
Week 5 β Project Work and LLMs
- Aug 4
-
- 23 HCE Guest Lecture
- Slides β’ Demo β’ Blank Demo
-
- 24 Computational Social Science
- Slides β’ Demo β’ Blank Demo
- Project Final Project Part 1
- Project Final Project Part 2
- Aug 5
-
- 25 Large Language Models
- Slides β’ Demo β’ Blank Demo
- Lab 9 APIs and Prompt Engineering
- Aug 6
-
- 26 More LLMs and Prompt Engineering
- Slides β’ Demo β’ Blank Demo
-
- 27 Cohenβs Kappa & Macro F1
- Slides β’ Demo β’ Blank Demo
- Aug 7
-
- 28 TF-IDF
- Slides β’ Demo β’ Blank Demo
- Lab 10 TF-IDF, Cohenβs Kappa, and Macro F1
- Aug 8
-
- Discussion 5 Ethics, Control, Air Quality
- Worksheet 05
- Survey Week 05 Survey
Week 6 β Web, Plotting, and Final Review
- Aug 11
-
- 29 Intro to Web Development
- Slides β’ Demo β’ Blank Demo
- Aug 12
-
- 30 Fun with Plotly
- Slides β’ Demo β’ Blank Demo
- Aug 13
-
- 31 Final Review
- Slides β’ Demo β’ Blank Demo
- Aug 14
-
- 32 Conclusion and Whatβs Next
- Slides β’ Demo β’ Blank Demo
- Aug 15
- Final Exam