Announcements

10/24

Quiz 3 will take place in class on Wednesday 10/29.

  • Covers Lessons 12, 13, 14
  • 15 minutes, pen-and-paper, short answer and multiple choice.
  • You are not allowed to use any outside assistance on this quiz: closed book, closed notes, closed internet, etc.
  • No collaboration allowed.

10/20

You may have trouble submitting your completed Project 3 with the submission form because it exceeds the 10 MB limit with all the charts included.

To resolve this, clear all the outputs in your Project 3 notebook:

  • In Jupyter Lab: Edit → Clear Outputs of All Cells
  • In Jupyter Notebook: Cell → All Outputs → Clear

Then save your notebook and submit it.

This will clear all the charts from your notebook, but your code will remain intact. For all assignments, I re-run your entire notebook before grading it.

10/9

Project 3 is due on Friday 10/24 at 22:00. See below for details.

10/9

Plan for next week:

M 10/13
  • No classes – Columbus Day
W 10/15
  • (25 minutes) Last-minute review for Exam 1
  • (25 minutes) Exam 1 Parts 1 and 2
F 10/17
  • Exam 1 Part 3

Exam 1 will take place in class on Wednesday 10/15 and Friday 10/17.

  • Focuses on Lessons 3-9 (and required background from Lessons 1-2).
  • Wednesday – Parts 1 and 2 (40%):
    • Pen and paper.
    • Part 1 – Writing basic Altair code.
    • Part 2 – Short answer and multiple choice.
    • You must turn in Part 1 before beginning Part 2.
    • You are not allowed to use any references or outside assistance for these parts.
    • You are not allowed to run Python code during these parts.
  • Friday – Part 3 (60%):
    • Writing code in Jupyter notebooks.
    • You are allowed to refer to your class materials (e.g., notes, projects) and references linked directly from the course website (e.g., Altair documentation) during this part.
  • No collaboration allowed.

9/11

Project 2 is due on Wednesday 9/24 at 22:00. See below for details.

9/11

Quiz 2 will take place in class on Wednesday 9/17.

  • Covers Lessons 4, 5, 6.
  • 15 minutes, pen-and-paper, short answer and multiple choice.
  • You are not allowed to use any outside assistance on this quiz: closed book, closed notes, closed internet, etc.
  • No collaboration allowed.

8/29

Project 1 is due on Wednesday 9/10 at 22:00. See below for details.

8/29

Quiz 1 will take place in class on Wednesday 9/3.

  • Covers Lessons 2, 3, 4.
  • 15 minutes, pen-and-paper, short answer and multiple choice.
  • You are not allowed to use any outside assistance on this quiz: closed book, closed notes, closed internet, etc.
  • No collaboration allowed.

8/17

Welcome!

Show older announcements

Schedule

Date Class Homework

10/29

  • Quiz 3
  • Finish Lesson 15
  • Work on Problems 0-3 in Lesson 15

10/27

  • Start Lesson 15
  • Work on Problems 0-2 in Lesson 15

10/24

  • Lesson 14
  • Work on Problems 1-5 in Lesson 14

10/22

  • Lesson 13
  • Work on Problems 1-8 in Lesson 13

10/20

  • Lesson 12
  • Work on Problems 0-4 in Lesson 12

10/17

  • Exam 1 Part 3

10/15

  • Review
  • Exam 1 Parts 1 and 2

10/10

  • Work on Project 3

9/29

  • Finish Lesson 11
  • Work on Problem 1 in Lesson 11

9/26

  • Lesson 10
  • Start Lesson 11

9/24

  • Finish Lesson 9
  • Work on Project 2
  • Project 2 due on W 9/24 at 22:00

9/22

  • Continue Lesson 9
  • Work on Problems 1-4 in Lesson 9

9/19

  • Start Lesson 9
  • Work on Problems 1-2 in Lesson 9

9/17

  • Quiz 2
  • Finish Lesson 8
  • Work on Problems 1-3 in Lesson 8

9/15

  • Start Lesson 8
  • Work on Problems 1-2 in Lesson 8

9/12

  • Lesson 7
  • Work on Problems 1-3 in Lesson 7

9/10

  • Finish Lesson 6
  • Project 1 due on W 9/10 at 22:00
  • Work on Problems 1-5 in Lesson 6

9/8

  • Start Lesson 6
  • Work on Problems 1-2 in Lesson 6

9/5

  • Finish Lesson 5
  • Work on Problems 1-5 in Lesson 5

9/3

  • Quiz 1
  • Start Lesson 5
  • Work on Problems 1-2 in Lesson 5

8/29

  • Finish Lesson 4
  • Work on Problems 1-6 in Lesson 4

8/27

  • Finish Lesson 3
  • Start Lesson 4
  • Work on Problems 1-5 in Lesson 3

8/25

  • Continue Lesson 3
  • Work on Problems 1-2 in Lesson 3

8/22

  • Finish Lesson 2
  • Start Lesson 3
  • Work on Problems 1-4 in Lesson 2

8/20

  • Finish Lesson 1
  • Start Lesson 2
  • Review basic Python concepts

8/18

  • Course logistics
  • Check Conda installations
  • Lesson 0: course overview
  • If we have time: start Lesson 1
  • Complete the student questionnaire (sent by email)

Show past days

Note. You will need a USNA account to access most of the materials linked below.

Course Logistics

Resources

Lessons

Dates Lesson
  • 10/29
  • 10/27
15 Creating new variables in Pandas
  • 10/24
14 Sorting rows and selecting columns in Pandas
  • 10/22
13 Filtering observations in Pandas
  • 10/20
12 Introduction to data wrangling - the Pandas DataFrame and Series
  • 9/29
  • 9/26
11 Cartographic visualization
  • 9/26
10 Data sources in Altair
  • 9/24
  • 9/22
  • 9/19
9 Interactive visualization
  • 9/17
  • 9/15
8 Multi-view composition – facet, concatenate, repeat
  • 9/12
7 Multi-view composition – layers
  • 9/10
  • 9/8
6 Customizing visualizations
  • 9/5
  • 9/3
5 Advanced data transforms with Altair
  • 8/29
  • 8/27
4 Basic data transformations with Altair
  • 8/25
  • 8/22
3 Introduction to data visualization with Altair
  • 8/22
  • 8/20
2 Warm up
  • 8/20
  • 8/18
1 A survival course in Jupyter and Python
  • 8/18
0 Course overview

Projects

Project Instructions

Project 3 — COVID-19 in the United States

Due Friday 10/24 @ 22:00.

Work on your own. Submit 1 project per student. Verbal collaboration is allowed, but sharing of code is not permitted.

Project 2 — Corruption and Human Development

Due Wednesday 9/24 @ 22:00.

Work on your own. Submit 1 project per student. Verbal collaboration is allowed, but sharing of code is not permitted.

Project 1 — Higher Education and Future Earnings

Due Wednesday 9/10 at 22:00.

Work on your own. Submit 1 project per student. Verbal collaboration is allowed, but sharing of code is not permitted.

Quizzes

Date Quiz
9/17 Quiz 2
9/3 Quiz 1

Exams

Date Exam
10/17 Exam 1