I have a data set which looks like this. I want to calculate for every row, starting from row number three a moving average with window 5. For every row i, the window will have rows i-2, i-1, i, i+1, i+2. The desired output is like this. So for week 3, The smoothed_average is a mean of the highlighted cells.
... View more