- 博客(3)
- 收藏
- 关注
原创 【解决问题】AttributeError: module ‘pandas‘ has no attribute ‘ewma‘报错解决方法
将ewma60=pd.ewma(aapl_px,span=60)改为ewma60 = pd.DataFrame.ewm(aapl_px,span=60).mean()
2019-01-27 19:44:55 10150 1
原创 【解决问题】AttributeError: module ‘pandas‘ has no attribute ‘rolling_mean‘ 报错解决方法
报错如下:解决方法如下:close_px.AAPL.rolling(250).mean().plot()结果如下:
2019-01-27 19:07:55 9125
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人