Spaces:
Sleeping
Sleeping
Update split_files_to_excel.py
Browse files- split_files_to_excel.py +1 -1
split_files_to_excel.py
CHANGED
@@ -492,7 +492,7 @@ def split_in_df(files):
|
|
492 |
for key, value in zip(metadata_keys, metadata_values):
|
493 |
doc_data[key] = value
|
494 |
|
495 |
-
df =
|
496 |
|
497 |
df.to_excel("dataframe.xlsx", index=False)
|
498 |
|
|
|
492 |
for key, value in zip(metadata_keys, metadata_values):
|
493 |
doc_data[key] = value
|
494 |
|
495 |
+
df = pd.concat([df, doc_df], ignore_index=True, sort=False)
|
496 |
|
497 |
df.to_excel("dataframe.xlsx", index=False)
|
498 |
|