You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the script through a loop from different Zip codes on different days the program overwrites the original file when same zips are processed. For instance, I have the same 5 zips on different days, the .csv file is overwritten each time.
How do I store all processed zips, with different dates, into one .csv file without overwrite?
The text was updated successfully, but these errors were encountered:
I am not sure if I understood your question correctly. By default, the function will automatically save csv (export_csv = True) by using location input.
If you want to customize your file name, you can simply change export_csv = False and use pandas to_csv method to manually save dataframe output for each location.
When I run the script through a loop from different Zip codes on different days the program overwrites the original file when same zips are processed. For instance, I have the same 5 zips on different days, the .csv file is overwritten each time.
How do I store all processed zips, with different dates, into one .csv file without overwrite?
The text was updated successfully, but these errors were encountered: