另存xls为xlsx
https://stackoverflow.com/questions/65254535/xlrd-biffh-xlrderror-excel-xlsx-file-not-supported/65255334
将 pd.read_excel engine改为openpyxl
df1 = pd.read_excel(
os.path.join(APP_PATH, “Data”, “aug_latest.xlsm”),
engine=‘openpyxl’,
)
pandas读取过万xls报错
最新推荐文章于 2022-12-14 10:36:48 发布