1. Learn
  2. /
  3. Courses
  4. /
  5. Working with Dates and Times in Python

Exercise

It's getting cold outside, W20529

Washington, D.C. has mild weather overall, but the average high temperature in October (68ºF / 20ºC) is certainly higher than the average high temperature in December (47ºF / 8ºC). People also travel more in December, and they work fewer days so they commute less.

How might the weather or the season have affected the length of bike trips?

Instructions 1/2

undefined XP
  • 1
    • Resample rides to the daily level, based on the Start date column.
    • Plot the .size() of each result.
  • 2

    Since the daily time series is so noisy for this one bike, change the resampling to be monthly.