-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why can't one read and write both csv's? #30
Comments
The import/export options of the script are mainly there to convert between different types of input files if you want to do that, so it doesn't make a lot of sense to go from CSV to CSV file. The script options are not particularly useful from an end-user perspective, but they make it relatively painless to ship with the most up-to-date version of the timezone map (which reminds me that I have to update that), and see whether you broke anything before you commit. I am not a 100% sure I understand what you exactly want to do, but if you could elaborate a bit that would be great. I feel like I am now the one that is missing something obvious :) You don't want to export polygons with timezone information by any chance? |
I simply need an offline way to append local time to a csv file with
---------- Forwarded message ---------- The import/export options of the script are mainly there to convert between I am not a 100% sure I understand what you exactly want to do, but if you You don't want to export polygons with timezone information by any chance? — |
Your code makes sense to me as it is. Pandas is probably a much better choice for doing all the reading and writing of CSV files than using anything in |
Sure thing. I'll continue to use the script with pandas. |
I see in the help that writing to csv isn't allowed if reading from one (when using as a script). What is the reason for this? This is exactly what I was hoping to do. :)
I think I could facilitate this on my own by writing a python script to read my data first, use tzwhere internally, and then writing a csv. But I'm guessing that I'm missing something here otherwise you'd have implemented this.
The text was updated successfully, but these errors were encountered: