会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
水郁
updating / 题解博客 / ACM / @flipped
博客园
首页
新随笔
联系
订阅
管理
01 2019 档案
statsmodels.tsa.arima_model预测时报错TypeError: int() argument must be a string, a bytes-like object or a number, not 'Timestamp'
摘要:在 python 中用 statsmodels创建 ARIMA 模型进行预测时间序列: 运行后报错: 这种情况的原因是,读入的时间序列数据的时间没有统一的间隔,例如打印 的结果是 其中2016 01 30是距离前一个时间8天,其它间隔为7天。可以看到这个 DatetimeIndex 的 freq 是
阅读全文
posted @
2019-01-19 01:09
水郁
阅读(15975)
评论(0)
推荐(0)
公告
……