复现irdpg时换用自己的数据集,在数据预处理到preprocess3_prophetic.py时出现了AttributeError: 'Index' object has no attribute 'date'
![](https://i-blog.csdnimg.cn/blog_migrate/bd2632ef2c29d79edcb001ced685f655.png)
查询后得到原因(https://github.com/ranaroussi/yfinance/issues/939)
![](https://i-blog.csdnimg.cn/blog_migrate/c69e98de58fdf4fd01b8716921550afa.png)
解决方法:
pip install pandas==1.3.5
复现irdpg时换用自己的数据集,在数据预处理到preprocess3_prophetic.py时出现了AttributeError: 'Index' object has no attribute 'date'
查询后得到原因(https://github.com/ranaroussi/yfinance/issues/939)
解决方法:
pip install pandas==1.3.5