Fix: remove index in excel outputs

This commit is contained in:
Bertrand Benjamin 2023-10-05 15:22:14 +02:00
parent 132e37267b
commit 48e75358ac

View File

@ -8,7 +8,7 @@ def join_excel(src, dest, file_pattern):
filenames = list_files(src, file_pattern)
dfs = extract_dfs(filenames)
joined_df = pd.concat(dfs)
joined_df.to_excel(dest)
joined_df.to_excel(dest, index=False)
def list_files(src, file_glob):