rolling average df

122

rolling average df -

df['pandas_SMA_3'] = df.iloc[:,1].rolling(window=3).mean()

Comments

Submit
0 Comments