python - AttributeError:模块“熊猫”没有属性“面板”
问题描述
我正在做一个时间序列项目,并想使用 statsmodels 包。但是我无法导入它。当我运行这个:import statsmodels.api as sm
我收到此错误:AttributeError: module 'pandas' has no attribute 'Panel'
我在另一个主题中看到该面板已从 Pandas 模块 0.25.0 开始删除。有没有办法我仍然可以使用 Pandas 1.2.3 版中的 statsmodels 包?
谢谢
解决方案
推荐阅读
- javascript - 调用`event.preventDefault`时我做错了什么?
- python - Heroku 上的 Scrapy 爬虫返回 503 服务不可用
- c - -2^31 作为最小整数,为什么?
- c# - 导出 Excel 报表服务器时,现有连接被远程主机强行关闭
- python - 从 PyTorch 中的网络输出计算梯度会出错
- svg - 为什么渲染一组 svg 与一个 svg 不同?
- python - 如何在 python 3.6 中使用分布式包?
- java - 在 Android 5 中支持 JAVA-8 Jar - React Native
- javascript - 设置超时后InnerText闪烁
- in-app-purchase - 如何在 App Purchase 中获取 Volume App Store