Introduction to Computational Thinking with Data 📊
UC Berkeley, Summer 2023
Instructors: James Weichert, Jonathan Ferrari
Announcements
Week 6 Announcements
- Assignments Due
- Homework 5 is due Wednesday, August 9th @ 11 PM
- Survey 5 is due Wednesday, August 9th @ 11 PM
- Office Hours take place
- Wednesday 9-10 AM @ Wheeler 212
- Final Exam Review Session on Wednesday (8/9) during lecture time.
- Alternate Final Time for Tuskegee Students is Thursday, August 10th 4 - 6 PM
- Regular Final Time for all other students is Friday, August 11th 10 AM - 12 PM
- If you need accommodations for the exam, please email James and Jonathan ASAP.
Week 1 — Introduction to Python
- Jul 3
- 1 Introduction, Course Overview
- Slides • Code • Blank Code
- 2 Jupyter Notebooks, Arithmetic
- Slides • Code • Blank Code
- Optional Reading: CIT 1.1, 3.1; SPR 8
- Survey Welcome Survey Due Jul 3 @ 11:00PM
- Jul 4
- No Class — Independence Day
- Jul 5
- 3 Evaluation, Names, Data Types
- Slides • Code • Blank Code
- Optional Reading: CP 1.2; CIT 3.2; 4.1; 4.2
- Lab 1 Using Jupyter Notebooks
- Jul 6
- 4 Arrays and Variables
- Slides • Code • Blank Code
- Optional Reading: PPDS 1.2, CIT 5.1
- 5 NumPy, Indexing, Working with Data
- Slides • Code • Blank Code
- Optional Reading: PPDS 5.2, CIT 5.6
- Homework 1 Introduction to Python Due Jul 13 @ 11:00PM
- Survey Weekly Survey 1 Due Jul 13 @ 11:00PM
- Jul 7
Week 2 — Visualizing Data
- Jul 10
- 6 Table Fundamentals
- Slides • Code • Blank Code
- Optional Reading: CIT 6, CIT 6.2
datascience
Documentation- Jul 11
- 7 Introduction to Visualization
- Slides
- Optional Reading: CIT 7, FDV 1
- Lab 2 Table Methods and Data Manipulation
- Jul 12
- 8 Visualizing Categorical Variables
- Slides • Code • Blank Code
- Optional Reading: CIT 7.1, FDV 6.1
- 9 Visualizing Numerical Variables
- Slides • Code • Blank Code
- Optional Reading: CIT 7.2, FDV 7.1
- Jul 13
- 10 Visualizing Two Variables
- Slides • Code • Blank Code
- Optional Reading: CIT 7.3, FDV 12.1
- Lab 3 Visualization Methods
- Homework 2 Table Methods and Data Visualization Due Jul 20 @ 11:00PM
- Survey Weekly Survey 2 Due Jul 20 @ 11:00PM
- Jul 14
- Recommended Reading: “Applying Racial Equity Awareness in Data Visualization”
Week 3 — Tables
- Jul 17
- Quiz Quiz 1: Python and Visualization
- 11 Sorting, Filtering Rows
- Slides • Code • Blank Code
- Optional Reading: CIT 6.1, CIT 6.2
- Jul 18
- 12 Row Methods, Joining Tables
- Slides • Code • Blank Code
- Optional Reading: CIT 8.4
- Lab 4 Tables
- Jul 19
- 13 Functions (I)
- Slides • Code • Blank Code
- Optional Reading: CIT 8, SPR 9, PPDS 2.5
- 14 Grouping, Pivoting
- Slides • Code • Blank Code
- Optional Reading: CIT 7.1.3, CIT 8.3.3, Table Function Visualizer
- Jul 20
- 15 Applying
- Slides • Code • Blank Code
- Optional Reading: CIT 8.1
- Lab 5 More Table Methods
- Homework 3 Advanced Table Methods Due Jul 27 @ 11:00PM
- Survey Weekly Survey 3 Due Jul 27 @ 11:00PM
- Jul 21
- Recommended Reading: “Why Algorithms Can Be Racist and Sexist”; “Dissecting Racial Bias”
Week 4 — Control and Iteration
- Jul 24
- 16 Comparisons
- Slides • Code • Blank Code
- Optional Reading: CIT 4.3; SPR 14
- 17 Control
- Slides • Code • Blank Code
- Optional Reading: CIT 9.1; CP 1.5
- Jul 25
- 18 For Loops
- Slides • Code • Blank Code
- Optional Reading: CIT 9.2; SPR 12
- Lab 6 Functions and Control (Submit Lab 6 to Gradescope!)
- Jul 26
- 19 Advanced For Loops
- Slides • Code • Blank Code
- Optional Reading: PPDS 2.1
- Jul 27
- 20 Maps
- Slides • Code • Blank Code
- Optional Reading: Plotly Documentation
- Lab 7 Iteration
- Homework 4 Control, Iteration, and Strings Due Aug 3 @ 11:00PM
- Survey Weekly Survey 4 Due Aug 3 @ 11:00PM
- Jul 28
- Discussion 4 Privacy
- Workssheet • Solutions
Week 5 — Simulation, Files, and Dictionaries
- Jul 31
- Quiz Quiz 2: Tables, Functions and Loops
- Aug 1
- Optional Reading: CIT 9; CIT 9.3
- Lab 8 Randomness and Simulation
- Optional Reading: CIT 9; CIT 9.3
- Aug 2
- 22 File Formats, Dictionaries
- Slides • Code • Blank Code
- Optional Reading: SPR 23; CP 2.4.3
- Lab 9 Dictionaries
- Aug 3
- 23 Guest Lecture - Human Contexts and Ethics
- Prep Work: Explore the Bay Area Air Quality Management District Website
Homework 5 Dictionaries Due Aug 9 @ 11:00PM
- Survey Weekly Survey 5 Due Aug 9 @ 11:00PM
- Prep Work: Explore the Bay Area Air Quality Management District Website
- Aug 4
Week 6 — Web Development and Conclusion
- Aug 7
- Optional Reading: Plotly Documentation
- 25 Intro to Web Development
- Slides
- Optional Reading: Plotly Documentation
- Aug 8
- Lab 10 Creating a Website
- Aug 9
- R Final Review
- Slides
- Aug 10
- 26 Conclusion and Next Steps
- Slides
- Aug 11
- Exam Final Exam
- Main Exam: Friday, August 11th @ 11 AM in AAPB 155
- Alternate Exam: Thursday, August 10th @ 4 PM in Evans B6