-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: enforce deprecation on floats with unit=M or Y #48671
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
Conversation
doc/source/whatsnew/v1.6.0.rst
Outdated
@@ -116,6 +116,7 @@ See :ref:`install.dependencies` and :ref:`install.optional_dependencies` for mor | |||
|
|||
Other API changes | |||
^^^^^^^^^^^^^^^^^ | |||
- Disallow passing non-round floats to :class:`Timestamp` with ``unit="M"`` or ``unit="Y"`` (:issue:`47266`) |
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.
Could you start a new section in the whatsnew for these like we did in 1.0? https://pandas.pydata.org/docs/whatsnew/v1.0.0.html#removal-of-prior-version-deprecations-changes
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.
updated + green
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.
after this is merged ill update the other deprecation-enforcing PRs to move the notes to the appropriate section
@phofl gentle ping, getting this in will allow us to move the whatsnew notes over to the new section and start getting those in |
thx @jbrockmendel |
Unfortunately just found that we missed the analogous behavior in to_datetime with non-scalars. That'll go in the just-do-in-2.0 pile.
Whatsnew is in 1.6 on the assumption it will be changed to 2.0.