-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Fix Timedelta floordiv, rfloordiv with offset, fix td64 return types #19770
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
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.
ex my below comment, lgtm. ping on green.
@@ -716,6 +716,8 @@ Datetimelike | |||
- Bug in :class:`Timestamp` and :func:`to_datetime` where a string representing a barely out-of-bounds timestamp would be incorrectly rounded down instead of raising ``OutOfBoundsDatetime`` (:issue:`19382`) | |||
- Bug in :func:`Timestamp.floor` :func:`DatetimeIndex.floor` where time stamps far in the future and past were not rounded correctly (:issue:`19206`) | |||
- Bug in :func:`to_datetime` where passing an out-of-bounds datetime with ``errors='coerce'`` and ``utc=True`` would raise ``OutOfBoundsDatetime`` instead of parsing to ``NaT`` (:issue:`19612`) | |||
- Bug in :func:`Timedelta.__add__`, :func:`Timedelta.__sub__` where adding or subtracting a ``np.timedelta64`` object would return another ``np.timedelta64`` instead of a ``Timedelta`` (:issue:`19738`) |
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.
would not be averse to a PR separating this whatsnew to Datetime, Period, Timedelta sections (so each is not so long)
Codecov Report
@@ Coverage Diff @@
## master #19770 +/- ##
=======================================
Coverage 91.6% 91.6%
=======================================
Files 150 150
Lines 48864 48864
=======================================
Hits 44763 44763
Misses 4101 4101
Continue to review full report at Codecov.
|
ping |
thanks! |
Fixes xfails introduced in #19752.