Vera-ZWY commited on
Commit
ac614e5
1 Parent(s): 14cf6e5

Update praw_auhtor_info.py

Browse files
Files changed (1) hide show
  1. praw_auhtor_info.py +1 -1
praw_auhtor_info.py CHANGED
@@ -62,7 +62,7 @@ def praw_auhtors_to_path(ds_repo_id, file_path):
62
  result_df = pd.concat([df, author_df], axis=1)
63
 
64
  # Save result
65
- output_file = f"submissions_with_authors_{time.strftime('%Y%m%d')}.csv"
66
  result_df.to_csv(output_file, index=False)
67
  print(f"Saved to {output_file}")
68
 
 
62
  result_df = pd.concat([df, author_df], axis=1)
63
 
64
  # Save result
65
+ output_file = f"submissions_with_authors_{file_path}.csv"
66
  result_df.to_csv(output_file, index=False)
67
  print(f"Saved to {output_file}")
68