From 48e75358ac0a161d49bfdcebe16b45f6c75c8244 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 5 Oct 2023 15:22:14 +0200 Subject: [PATCH] Fix: remove index in excel outputs --- pdf_oralia/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf_oralia/join.py b/pdf_oralia/join.py index 5cf2688..37c5aea 100644 --- a/pdf_oralia/join.py +++ b/pdf_oralia/join.py @@ -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):