Last active
July 9, 2020 07:13
-
-
Save avoajaugochukwu/5ce19f7da292dc41f1d8b1137163d57c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
holder_list = list() | |
for i in range(len(all_excel_files)): | |
cfile = pd.read_excel(all_excel_files[i]) | |
cfile.insert(0, "file_name", all_excel_files[i]) | |
holder_list.append(cfile) | |
df = pd.concat(holder_list) | |
df.to_excel('output.xlsx', index=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment