Python for Data · Unit 9

Unit 9: Time Series

Turn text into pandas dates, then track totals by week or month.

  • 2–3 hrs
  • Intermediate
  • 6 lessons

Lessons

  1. Parsing DatesA date read from a file is text until you say otherwise. 20–25 min
  2. Date PartsYear, month and weekday are columns you can group by. 20–25 min
  3. A Datetime IndexPutting time on the index unlocks slicing by period. 20–25 min
  4. ResamplingGroup by time period without building the key yourself. 20–25 min
  5. Rolling WindowsSmoothing a noisy series to see the shape underneath. 20–25 min
  6. Change Over TimeDifferences and growth rates, and the row that has neither. 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 9 test