pandas · Lesson 10.3 · Pro
Rolling averages
Smooth out noisy daily numbers with a moving window, like a 7-day average.
In this lesson
- A 7-day moving average
- Start sooner with min_periods
- Rows or days?
- Rolling per group
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.