Python for Data · Unit 1

Unit 1: Data in Plain Python

Read CSV files and summarise rows with plain Python lists and dictionaries.

  • 2–3 hrs
  • Beginner
  • 6 lessons

Lessons

  1. What Data Analysis Actually IsFour steps that turn a file of rows into an answer you can defend. 20–25 min
  2. Rows and Columns with ListsA table is a list of lists, and a column is what you pull out of it. 20–25 min
  3. Records as DictionariesName the columns, and the code stops depending on their order. 20–25 min
  4. Reading a CSV FileThe csv module turns a file of text into rows you can work with. 20–25 min
  5. Summarising NumbersTotals, averages and extremes, and what each one hides. 20–25 min
  6. Counting and GroupingA dictionary is how you count things, and how you split a table into groups. 20–25 min
  7. End of unit test

    Ten multiple choice questions and one free response problem. You need 70 to finish the unit. Retakes are unlimited and your best score is the one that counts.

    Take the Unit 1 test