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数据框架

过程:

 

猜你喜欢

转载自blog.csdn.net/STR_Liang/article/details/131169883