使用pandas读取Excel,代码如下:
会报错ValueError: Excel file format cannot be determined, you must specify an engine manually.
然后加上engine="openpyxl",代码如下:
会报错zipfile.BadZipFile: File is not a zip file
这个怎么解决
收起
excel文件有问题,你在windows下能打开吗?如果能打开,另存为一个新文件再试试
报告相同问题?