How can I read multiple large excel files from a folder which is of 1.98 gb, and read all sheets of each and every file and append them into one dataframe. I am new at python and I have tried something like below but it takes more than half an hour -
with warnings.catch_warnings(record = True):
warnings.simplefilter("always")
for file_name in os.listdir(file_path):
if '~$' in file_name:
continue
else:
xls = pd.ExcelFile(os.path.join(file_path,file_name))
for sheets in xls.sheet_names:
df = df.append(xls.parse(sheets))