In “Week 12 - Line Plot COVID Data Video” of the FDS course we have the below code at the very start of the video.
`df = df.rolling(7).mean()`
Can you please explain what does the “rolling” fn. do??
And also elaborate on the above code.
Thanks & Regards.