Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将飞镖时间序列模型与熊猫数据框一起使用。我尝试导入以下包,但我无法解决此错误消息。我的 pandas 版本是 1.3.4,我无法按照某些论坛的建议降低,从那时起我需要降低 python 的版本,这在 anaconda 中也是不允许的。我也试过
conda uninstall pandas conda install pandas
这些也没有用
一旦我无法定义时间序列,就无法转换为时间序列来输入飞镖模型
TimeSeries.from_dataframe(df)
请帮忙谢谢
我有这个帖子的解决方案。在 anaconda 环境中,使用 python 3.7.11 创建一个新环境,并确保未安装 pandas,见下图:
然后在您的新环境中打开 jupyter 确保安装已经具有 pandas 依赖项的飞镖,所以不要尝试为飞镖安装 pandas 在您的笔记本中输入以下行,然后您就可以开始了