-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Append error: TypeError: Cannot compare tz-naive and tz-aware timestamps #35
Comments
Hello, |
[ADDITION] Following code (direct use of pandas, not pystore/dask/parquet) works:
Problem is not solved. |
Hmm, it seems I don't succeed to reproduce the error in a script without having to re-write in depth collection.py. As this is not my priority at the moment, I will only use the write() funciton of pystore, and when I will have to append data, I will do it with pandas concat() function, then write() with pystore using overwrite=True. I hope this trouble in Windows 10 environment can be solved (I am hinting that this error, along with having to use 'npartitions=item.data.npartitions' in append() function may actually be linked) Have a good day, |
For those who are in the same case, here is an ugly workaround which logic I mention in above comment.
Bests, |
I think that https://github.com/ranaroussi/pystore/blob/master/pystore/collection.py#L181 should @ranaroussi could you confirm ? |
probably related to issue dask/dask#6925 |
Hello,
I am passing a tz-aware dataframe to pystore/append, and I get this error message.
[EDIT]
Here is a code that can be simply copy/past to reproduce the error message.
Please, does someone sees what I can be possibly doing wrong?
I thank you for your help.
Have a good day,
Bests,
Pierrot
The text was updated successfully, but these errors were encountered: