You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,10 +327,8 @@ small behavior differences as collateral:
327
327
- ``pd.offsets.Day(n)`` no longer compares as equal to ``pd.offsets.Hour(24*n)``
328
328
- :class:`offsets.Day` no longer supports division
329
329
- :class:`Timedelta` no longer accepts :class:`Day` objects as inputs
330
-
- :meth:`tseries.frequencies.to_offset` on a :class:`Timedelta` object returns
331
-
a :class:`offsets.Hour` object in cases where it used to return a :class:`Day` object.
332
-
- Adding or subtracting a scalar from a timezone-aware :class:`DatetimeIndex`
333
-
with a :class:`Day` ``freq`` no longer preserves that ``freq`` attribute.
330
+
- :meth:`tseries.frequencies.to_offset` on a :class:`Timedelta` object returns a :class:`offsets.Hour` object in cases where it used to return a :class:`Day` object.
331
+
- Adding or subtracting a scalar from a timezone-aware :class:`DatetimeIndex` with a :class:`Day` ``freq`` no longer preserves that ``freq`` attribute.
334
332
- Adding or subtracting a :class:`Day` with a :class:`Timedelta` is no longer supported.
335
333
- Adding or subtracting a :class:`Day` offset to a :class:`Timestamp` or datetime-like may lead to an ambiguous or non-existent time, which will raise.
0 commit comments