Return the weekly mean of sales

pandas · from resample and rolling

.resample().rolling().expanding().ewm()min_periodsfrequency aliases

Putting the kettle on…

Starting up…

Exercise 1

Return the weekly mean of sales.

your answer
stuck? the lesson behind it
resample and rolling
One changes how many points there are. The other changes what each one says.