.article-detail .main-content { margin-top:20px; }
GitCode 开源社区
Pandas读取Excel失败:Excel file format cannot be determined, you must specify an engine manually.指定engine
Pandas读取Excel失败:Excel file format cannot be determined, you must specify an engine manually.指定engine
结论:
Python -- Pandas读取Excel失败:Excel file format cannot be determined, you must specify an engine manually.
指定参数 engine 为
'openpyxl'
或者
'xlrd'
同样失败
后发现 将
read_excel 改为 read_html
即可解决
因为读取此方法读取后是整个的大列表 所以有需要的话 可以最后再用 Numpy 转为 Pandas DataFrame数据框架
定时同步数据库表(mysql+linux+crontab)
所有评论(0)