Rename merge_and_save.py to merge.py
Browse files
merge_and_save.py → merge.py
RENAMED
@@ -135,7 +135,7 @@ def get_newes_file(repo_id):
|
|
135 |
|
136 |
|
137 |
|
138 |
-
def
|
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 |
|