我一直关注这些链接:
Import multiple excel files into python pandas and concatenate them into one dataframe &安培; Import multiple csv files into pandas and concatenate into one DataFrame
但我仍然无法解决问题。我甚至都没有尝试将所有纸张合并,因为我甚至无法将它们导入。我得到的错误是说表格名称不存在。
path = ('E:\\Python\\Projects\\big data\\Source Data\\convert')
fileNames = (glob.glob(path + '/*.XLSX') )
dataFrame_set = []
for files in fileNames:
dataFrame_set.append(pd.read_excel(files,'/*'))