thenyou can observe the following graph as the output of re-sampling with median()rolling mean you can use the following code to calculate the rolling (movingmeantimeseries rolling(window= center=falsemean(plot(style='- 'plt show(thenyou can observe the following graph as the output of the rolling (movingmean