rolling mean is not smoothing much data much

50 Views Asked by At

I am using rolling means to smooth out my data. Plot I have seen similar posts and have tried to increase the rolling window but I do get a thin line I rather get a thick line that pretty, much covers the main data that I am trying to smooth out.

df_fil["OUR smooth2"]= df_fil['OUR smooth'].rolling(5000, min_periods=1).mean()

df_fil.plot(x='Time', y=['OUR','OUR smooth2'], figsize=(10,10), ylim=(0, 0.03))
0

There are 0 best solutions below