-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: pd to_datetime #55239
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
take |
take |
take |
is there a reason that exact is exact: bool | lib.NoDefault = lib.no_default, and not exact: bool = True? Should the documentation be changed to be consistent with what is written or is it ok to change it to exact: bool = True |
Thank you for this report, I believe this issue is already resolved, if you scroll down in the documentation to the parameters section, you can see it says the default value for |
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.to_datetime.html
Documentation problem
in pandas to datetime we find that the default value of the parameter exact is:
exact=_NoDefault.no_default
which i don't know what does it mean, on top of that there is inconsistent breaking behavior from last version when parsing:
"%Y-%m-%d" if a date contains %H:%M:%S so for me they have changed the default value from false to true in pandas v2
Suggested fix for documentation
Probably now should be true before it was false
The text was updated successfully, but these errors were encountered: