YchKhan commited on
Commit
651ad48
1 Parent(s): ef2a31f

Update split_files_to_excel.py

Browse files
Files changed (1) hide show
  1. 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 = df.append(doc_data, ignore_index=True)
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