Return the total cups per week rather than the mean

pandas · from resample and rolling

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

Putting the kettle on…

Starting up…

Exercise 2

Return the total cups per week rather than the mean.

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