几种改法:
df=pd.read_excel(r'C:\22\1月.xlsx') df=pd.read_excel('C:/22/1月.xlsx') df=pd.read_excel('C:\\22\\1月.xlsx')
文件名字不要有中文建议 其次改成这样:C:\\22\\1月.xlsx