-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: Timedelta with passed unit M, Y #16344
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
One question is whether we should also deprecate 'W' for week (see #14024 (comment)). Given that this can be easily represented as 7 days, it would be easier/clearer to just have 'D' as the highest allowed unit.
|
3 tasks
This was referenced Oct 21, 2018
4 tasks
4 tasks
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above does not make much sense, so lets deprecate this (similar for
to_timedelta
).For the case where those unit abbreviations are used in a string,
Y
already raises, whileM
is actually interpreted as minutes:xref #16335, #12691 and #14024
The text was updated successfully, but these errors were encountered: