# Data 6: Introduction to Computational Thinking with Data ðŸ“Š

UC Berkeley, Fall 2024

Instructor

### Jedi Tsang he/him

jedidiahtsang@berkeley.edu

## Week 1 Announcements

Aug 28 · 0 min read
• More to come!

## Week 1 â€” Introduction to Python

Aug 28
1 Introduction, Course Overview
Slides
Aug 30
2 Jupyter Notebooks, Arithmetic
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 1.1, 3.1; SPR 8
Survey Welcome Survey Â
Discussion 01 Fractions & Health Data
Worksheet â€¢ Solutions

## Week 2

Sep 2
No Class â€” Labor Day
Sep 4
3 Evaluation, Names, Data Types
Slides
Optional Reading: CP 1.2; CIT 3.2; 4.1; 4.2
Lab 1 Using Jupyter Notebooks Â Due Sep 4 @ 11:00PM
Reading 1 Assignment Â Due Sep 12 @ 11:00PM
Sep 6
4 Arrays and Variables
Slides â€¢ Code â€¢ Blank Code
Optional Reading: PPDS 1.2, CIT 5.1
Survey Week 2 Survey Â  Due Sep 9 @ 11:00 PM
Discussion 2 Python Basics: Names, Operations, Debugging
Worksheet â€¢ Solutions

## Week 3

Sep 9
5 NumPy, Indexing, Working with Data
Slides â€¢ Code â€¢ Blank Code
Optional Reading: PPDS 5.2, CIT 5.6
Homework 1 Introduction to Python Â  Due Sep 20 @ 11:00PM
Sep 11
Lab 2 NumPy, Indexing, Working with Data Continued Â Due Sep 11 @ 11:00PM
Sep 13
7 Introduction to Social Science Research
Slides
Survey Week 3 Survey Â  Due Sep 16 @ 11:00 PM
Worksheet â€¢ Solutions

## Week 4

Sep 16
8 Table Fundamentals
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 6, CIT 6.2 `datascience` Documentation
Reading 2 AssignmentÂ Due Sep 29 @ 11:00PM
Sep 18
9 Tables Methods, Data Manipulation
Slides â€¢ Code â€¢ Blank Code Â Due Sep 18 @ 11:00PM
Lab 3 Tables and Data
Sep 20
10 Sorting and Filtering Rows
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 6.1, CIT 6.2
Discussion 4 Documentation, Array Operations & Table Methods
Worksheet

## Week 5

Sep 23
11 Functions Part 1
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 8, SPR 9, PPDS 2.5
Homework 2 Functions Â  Due Oct 3 @ 11:00PM
Sep 25
12 Functions Part 2
Slides â€¢ Code â€¢ Blank Code
Lab 4 Functions Â Due Sep 25 @ 11:00PM
Sep 27
13 Applying
Slides â€¢ Code â€¢ Blank Code
Discussion 5
Worksheet

## Week 6

Sep 30
14 Row Methods, Joining Tables
Slides â€¢ Code â€¢ Blank Code
Oct 2
15 Tables
Slides â€¢ Code â€¢ Blank Code
Lab 5 Tables Â Due Oct 2 @ 11:00PM
Oct 4
16 Group, Pivot
Slidesâ€¢ Code â€¢ Blank Code
Optional Reading: CIT 7.1.3, CIT 8.3.3, Table Function Visualizer
Discussion 6
Worksheet

## Week 7

Oct 7
Quiz 1 Quiz 1:Basic Table Methods, Functions
Reading 3 Â Due Oct 17 @ 11:00PM
Oct 9
17 More Table Methods
Slides â€¢ Code â€¢ Blank Code
Lab 6 More Table Methods Â Due Oct 2 @ 11:00PM
Oct 11
18 Introduction to Visualization
Slidesâ€¢ Code â€¢ Blank Code
Discussion 7
Worksheet

## Week 8

Oct 14
19 Visualizing Categorical Variables, Numerical Variables
Slides â€¢ Codeâ€¢ Blank Code
Optional Reading: CIT 7.3, FDV 12.1
Homework 3 Advanced Table Methods Â  Due Oct 3 @ 11:00PM
Oct 16
20 Visualizations Methods
Slides â€¢ Codeâ€¢ Blank Code
Lab 7 Visualization Methods Â Due Oct 16 @ 11:00PM
Oct 18
21 TBD
Slides â€¢ Code â€¢ Blank Code
Discussion 8
Worksheet

## Week 9

Oct 21
22 Visualizing Two Numerical Variables, Bickel Case Study
Slidesâ€¢ Code â€¢ Blank Code
Reading 4 Â Due Oct 31 @ 11:00PM
Oct 23
23 Functions and Control
Slidesâ€¢ Code â€¢ Blank Code
Lab 8 Functions and Control Â Due Oct 23 @ 11:00PM
Oct 25
24 Comparisons
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 4.3; SPR 14
Discussion 9
Worksheet

## Week 10

Oct 28
25 Control
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 9.1; CP 1.5
Homework 4 Control, Iterations, Strings Â  Due Oct 3 @ 11:00PM
Oct 30
26 Functions and Control
Slides â€¢ Code â€¢ Blank Code
Lab 9 Functions and Control Â Due Oct 30 @ 11:00PM
Nov 1
27 Iteration
Slides â€¢ Code â€¢ Blank Code
Optional Reading: CIT 9.2; SPR 12
Discussion 10
Worksheet

## Week 11

Nov 4
28 More Iteration
Slides â€¢ Code â€¢ Blank Code
Reading 5 Â Due Nov 22 @ 11:00PM
Nov 6
29 Iteration Practice
Slides â€¢ Code â€¢ Blank Code
Lab 10 Iterations Â Due Nov 6 @ 11:00PM
Nov 8
30 File Formats, Dictionaries
Slides â€¢ Code â€¢ Blank Code
Discussion 11
Worksheet

## Week 12

Nov 11
Nov 13
31 Dictionaries
Slides â€¢ Code â€¢ Blank Code
Lab 11 Dictionaries Â Due Nov 13 @ 11:00PM
Nov 15
Quiz Quiz 2:Advanced Table Mathods, Visualization, Control

## Week 13

Nov 18
32 Sampling
Slides â€¢ Code â€¢ Blank Code
Final Project Â Due Dec 9 @ 11:00PM
Nov 20
33 Project Work Day
Lab 12 Â Due Nov 20 @ 11:00PM
Nov 22
34 Randomness, Simulation
Slides â€¢ Code
Discussion 12
Worksheet

## Week 14

Nov 25
35 Guest Lecture
Nov 27
No Class - Non-Instructional Day
Nov 29

## Week 15

Dec 2
36 Maps
Slides â€¢ Code â€¢ Blank Code
Dec 4
37 Randomness
Slides â€¢ Code â€¢ Blank Code
Lab 13 Randomness Â Due Dec 4 @ 11:00PM
Dec 6
38 Conclusion and Next
Slides

RRR Week

Dec 20
Exam Final Exam