Vera-ZWY commited on
Commit
25e3532
1 Parent(s): a725a50

Rename merge_and_save.py to merge.py

Browse files
Files changed (1) hide show
  1. merge_and_save.py → merge.py +3 -2
merge_and_save.py → merge.py RENAMED
@@ -135,7 +135,7 @@ def get_newes_file(repo_id):
135
 
136
 
137
 
138
- def merged_and_save():
139
  # Initialize Reddit API
140
 
141
  repo_id = "Vera-ZWY/reddite2024elections_submissions"
@@ -158,5 +158,6 @@ def merged_and_save():
158
  return f"Processing complete. File saved as {output_file}. Old dataset columns: {merged_df.columns.tolist()}"
159
 
160
 
161
-
 
162
 
 
135
 
136
 
137
 
138
+ def main():
139
  # Initialize Reddit API
140
 
141
  repo_id = "Vera-ZWY/reddite2024elections_submissions"
 
158
  return f"Processing complete. File saved as {output_file}. Old dataset columns: {merged_df.columns.tolist()}"
159
 
160
 
161
+ if __name__ == "__main__":
162
+ main()
163