会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
今日店休
博客园
首页
新随笔
联系
管理
订阅
python使用pandas时候报错TypeError
背景:使用pandas to_excel时候报错TypeError: got invalid input value of type <class 'xml.etree.ElementTree.Element'>, expected string or Element
解决方案
pip list发现openpyxl版本为3.0.2
pip install openpyxl==3.0.0
换低版本后就可以正常生成文件了,目测是这个版本有问题
posted @
2020-07-14 16:47
今日店休
阅读(
593
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告