Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试读取 xlsb 文件以在 pandas 中创建 DF。
import pandas as pd a_data = pd.ExcelFile( r'C:\\Desktop\\a.xlsb') df_data = pd.read_excel(a_data, 'Sheet1', engine='pyxlsb') print(df.head())
当我运行脚本时,我不断收到此错误。
OSError:文件不包含有效的工作簿部分