-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
better error message for to_datetime #4928
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
Comments
Yeah this is a little strange. I don't know enough about the history of these functions, but in the documentation of
However,
So I can: a) Make it so you must pass an array of strings to b) Make it so
c) some other option I didn't think of |
their are a bunch test case I think in on errors it will just return the input, unless |
@danbirken can you address this one? I think that b) is the correct response here (it will just return it to you), unless although, maybe in this case as the input is completely bogus, you could raise.... |
Sorry for the delay in responding -- I'm still on a very long vacation :) I think this change should do it. |
gr8...just roll that into a PR and put a release notes entry...thankxs |
Put into PR, release notes should be in there. |
BUG: Fix to_datetime() uncaught error with unparseable inputs #4928
cc @danbirken
The text was updated successfully, but these errors were encountered: