Part 2 · Section 09

Project 4

Time to put the iteration tools to work on real data. Four CSV files describe the same 1,000 people from different angles: personal details, employers, vehicles, and when each record was last updated. You’ll read them lazily, convert every field to the right type, stitch the four files into a single stream of records, drop stale records, and answer a question by grouping.

Nothing in the pipeline loads a whole file into a list until the very end, when grouping requires sorting. Each step is a small generator that consumes the one before it.

In this project you’ll:

Lectures

  1. 01Project Description✓
  2. 02Project Solution - Goal 1✓
  3. 03Project Solution - Goal 2✓
  4. 04Project Solution - Goal 3✓
  5. 05Project Solution - Goal 4✓

Practice: quiz & exercises

7 quiz questions · 4 coding exercises

Go to practice →