Link Search Menu Expand Document

Introduction to Computational Thinking with Data 📊

UC Berkeley, Summer 2022

Instructors: James Weichert (jweichert@berkeley.edu), Will Furtado (willfurtado@berkeley.edu)

Announcements

Week 6 Announcements

Aug 8 · 1 min read

Welcome to the final week of Data 6 🥲 As we finish out the semester, please take note of the following important announcements:

  • Homework 5 and Survey 5 have been released and will be due on Wednesday (8/10) at 11 PM
    • The Homework 5 deadline is on Wednesday instead of Thursday this week to give you time to study for the final exam on Friday. We have made Homework 5 shorter to account for the earlier deadline.
    • Remember that we will drop your lowest homework grade. See our grading policies for more details.
  • The Final Exam will take place this Friday, August 12th at 10AM in Evans 10
    • Taking the final exam is required to pass the class.
    • If you require accommodations for the exam such as extended time, please reach out to James and Will via email ASAP.
    • The full logistics for the exam can be found here.
    • We have put together some Optional Exam Practice Problems here.

Week 1 — Introduction to Python

Jul 5
1 Introduction, Course Overview
SlidesCodeBlank Code
2 Jupyter Notebooks, Arithmetic
SlidesCodeBlank Code
Optional Reading: CIT 1.1, 3.1; SPR 8
Survey Welcome Survey   Due Jul 5 @ 11:00PM
Jul 6
3 Evaluation, Names, Data Types
SlidesCodeBlank Code
Optional Reading: CP 1.2; CIT 3.2; 4.1; 4.2
Lab 1 Using Jupyter Notebooks (Solutions)
Jul 7
4 Arrays and Variables
SlidesCodeBlank Code
Optional Reading: PPDS 1.2, CIT 5.1
5 NumPy, Indexing, Working with Data
SlidesCodeBlank Code
Optional Reading: PPDS 5.2, CIT 5.6
Homework 1 Introduction to Python  Due Jul 15 @ 11:00PM
How to Fix HW 1 Jupyter Issues
Survey Weekly Survey 1  Due Jul 15 @ 11:00PM
Jul 8
Discussion 1 Health Data (Solutions)

Week 2 — Visualizing Data

Jul 11
6 Table Fundamentals
SlidesCodeBlank Code
Optional Reading: CIT 6, CIT 6.2 datascience Documentation
Jul 12
7 Introduction to Visualization
Slides
Optional Reading: CIT 7, FDV 1
Lab 2 Table Methods and Data Manipulation (Solutions)
Jul 13
8 Visualizing Categorical Variables
SlidesCodeBlank Code
Optional Reading: CIT 7.1, FDV 6.1
9 Visualizing Numerical Variables
SlidesCodeBlank Code
Optional Reading: CIT 7.2, FDV 7.1
Jul 14
10 Visualizing Two Variables
SlidesCodeBlank Code
Optional Reading: CIT 7.3, FDV 12.1
Lab 3 Visualization Methods (Solutions)
Homework 2 Table Methods and Data Visualization  Due Jul 21 @ 11:00PM
Survey Weekly Survey 2  Due Jul 21 @ 11:00PM
Jul 15
Discussion 2 Data Humanism in Visualization (Solutions)
Recommended Reading: “Applying Racial Equity Awareness in Data Visualization”
R Quiz Review

Week 3 — Tables

Jul 18
Quiz Quiz 1: Python and Visualization
11 Sorting, Filtering Rows
SlidesCodeBlank Code
Optional Reading: CIT 6.1, CIT 6.2
Jul 19
12 Row Methods, Joining Tables
SlidesCodeBlank Code
Optional Reading: CIT 8.4
Lab 4 Tables
Jul 20
13 Functions (I)
SlidesCodeBlank Code
Optional Reading: CIT 8, SPR 9, PPDS 2.5
14 Grouping, Pivoting
SlidesCodeBlank Code
Optional Reading: CIT 7.1.3, CIT 8.3.3, Table Function Visualizer
Jul 21
15 Applying
SlidesCodeBlank Code
Optional Reading: CIT 8.1
Lab 5 More Table Methods
Homework 3 Advanced Table Methods  Due Jul 28 @ 11:00PM
Survey Weekly Survey 3  Due Jul 28 @ 11:00PM
Jul 22
Discussion 3 Algorithmic Bias (Solutions)
Recommended Reading: “Why Algorithms Can Be Racist and Sexist”; “Dissecting Racial Bias”

Week 4 — Control and Iteration

Jul 25
16 Comparisons
SlidesCodeBlank Code
Optional Reading: CIT 4.3; SPR 14
17 Control
SlidesCodeBlank Code
Optional Reading: CIT 9.1; CP 1.5
Jul 26
18 For Loops
SlidesCodeBlank Code
Optional Reading: CIT 9.2; SPR 12
Lab 6 Functions and Control
Jul 27
19 Advanced For Loops
SlidesCodeBlank Code
Optional Reading: PPDS 2.1
Jul 28
20 Maps
SlidesCodeBlank Code
Optional Reading: Plotly Documentation
Lab 7 Iteration
Homework 4 Control, Iteration, and Strings  Due Aug 4 @ 11:00PM
Survey Weekly Survey 4  Due Aug 4 @ 11:00PM
Jul 29
Discussion 4 Privacy (Solutions)
R Quiz Review

Week 5 — More Python

Aug 1
Quiz Quiz 2: Tables, Functions and Loops
21 Intro to Web Development
Slides
Aug 2
Lab 8 Creating a Website
Aug 3
22 File Formats, Dictionaries
SlidesCodeBlank Code
Optional Reading: SPR 23; CP 2.4.3
Lab 9 Dictionaries
Aug 4
23 Guest Lecture from Professor Carson: Human Contexts and Ethics
Prep Work: Explore the Bay Area Air Quality Management District Website
Homework 5 Dictionaries  Due Aug 10 @ 11:00PM
Survey Weekly Survey 5  Due Aug 10 @ 11:00PM
Aug 5
Discussion 5 Human Contexts and Ethics

Week 6 — Simulations and Conclusion

Aug 8
24 Fun with Plotly
SlidesCode
Optional Reading: Plotly Documentation
25 Randomness, Simulation
SlidesCode
Optional Reading: CIT 9; CIT 9.3
Aug 9
Lab 10 Randomness and Simulation
Aug 10
26 Conclusion and Next Steps
Slides
Aug 11
R Final Review
Slides
Aug 12
Exam Final Exam (Evans 10)