Skip to course content
Free course

Data Analysis and Visualization with Python / Module 8

Module 8 activity

Module 8 Activity: Build a Weekly Trend

Estimated active time: 90 minutes

Task

Use a fictional weekly engagement dataset to create a time-based summary.

Steps

  1. Parse the event date column.
  2. Check failed date parsing.
  3. Sort by date.
  4. Create month and weekday fields.
  5. Create a weekly summary.
  6. Calculate a three-week rolling average.
  7. Compare two courses over the same time window.
  8. Write one limitation about the trend.

Deliverable

  • Time analysis notebook or worksheet.
  • Weekly summary table.
  • Rolling average table or chart-ready output.
  • Time comparison limitation note.

Quality bar

The activity is ready when the learner compares equal time windows and does not call the rolling average a forecast.