-
错误描述
原因是由于pandas版本(0.25.0)更新中移除了
pandas.compat
。1 -
解决方案
本例中出现这个问题是因为tushare调用使用pandas导致,更新tushare就好了。
pip install tushare --upgrade
-
References
(2020.1.13已解决)ImportError: cannot import name 'StringIO'
猜你喜欢
转载自blog.csdn.net/The_Time_Runner/article/details/103952914
今日推荐
周排行