change:
moving_avg = pd.rolling_mean(ts_log,12)
to:
moving_avg = ts_log.rolling(12).mean()
change:
moving_avg = pd.rolling_mean(ts_log,12)
to:
moving_avg = ts_log.rolling(12).mean()
上一篇:AttributeError: 'Series' object has no attribute 'ix'
下一篇:TypeError: fit() got an unexpected keyword argument 'nb_epoch'
安装jump server0.5.0出错
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M