-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) #52952
ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) #52952
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine, just wondering if there's a workaround which the error message could suggest? like, "convert to ??? first"?
Good idea. I'll clarify that users should convert to timestamp type first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @mroeschke
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…to_pydatetime and ArrowDtype(pa.date)
…a.date) (pandas-dev#52952) * ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) * Update pandas/tests/extension/test_arrow.py * Add warning * fix error message * Suggest to convert to pyarrow timestamp type first
…a.date) (pandas-dev#52952) * ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) * Update pandas/tests/extension/test_arrow.py * Add warning * fix error message * Suggest to convert to pyarrow timestamp type first
…a.date) (pandas-dev#52952) * ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) * Update pandas/tests/extension/test_arrow.py * Add warning * fix error message * Suggest to convert to pyarrow timestamp type first
…a.date) (pandas-dev#52952) * ERR: Raise a better error message with to_pydatetime and ArrowDtype(pa.date) * Update pandas/tests/extension/test_arrow.py * Add warning * fix error message * Suggest to convert to pyarrow timestamp type first
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.