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
COPY: date and datetime #423
Comments
For some reason having None in one columns breaks datetime field conversion |
Can I see what a |
leads to:
Rec is: Taking into account it works if you add .date() to "datadate", the problem is in datetime64[ns] to date conversion. By default it tries to use timestamp, as far as I understand. |
You are assuming that you can pass a dataframe to psycopg. That's not supported yet. |
How does it work then if no None is there in another field -- that is the question. Also, it seems to mostly work, it's the only problem I faced for now (= |
That seems strange. What's the value of |
For For Interesting! |
Maybe it is, but Pandas data objects are not supported yet: see #316 If you convert that object to a |
Thank you for your work! |
When using date column, datetime objects go there fine, unless another column is None.
The text was updated successfully, but these errors were encountered: