Python Quest

Track 17 · Lesson 7 of 12

Project: customer data-cleaning pipeline

Turn a messy customer sign-up export into a clean, de-duplicated CSV and an error report, one tested cleaning function at a time.

About 100 minIntermediate6 exercises

You will be able to

  • Read a CSV into dictionaries and standardise names, emails, phone numbers and dates
  • Parse dates that arrive in several formats and convert them to ISO 8601
  • Validate each row against explicit rules and report problems with row numbers
  • De-duplicate records by a normalised key, keeping the most complete one
  • Assemble cleaning steps into a pipeline that writes clean data and an error report

Included with a Formula Quest membership

It has 6 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.

View Formula Quest memberships

Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.