读取本地excel文件,发现pandas读取更简洁 安装方式: 安装命令是:pip install pandas import pandas as pddf = pd.read_excel("..\GetyuqueData\day_20200327.xls", "test")print(df) 运行结果如图