데이터 공부를 기록하는 공간

[파이썬 함수]rolling, shift 본문

STUDY

[파이썬 함수]rolling, shift

BOTTLE6 2021. 1. 23. 23:05

df['MA3_yes'] = df.Close.rolling(window=3).mean().shift(1)

 

 

Comments