Skip to content

Commit 087ac6a

Browse files
authored
Merge pull request #2 from akshat62/s4lmj0-codex/fix-bug-related-to-issue-62094
Preserve day freq on DatetimeIndex subtraction
2 parents 72e0de9 + 6d1eca5 commit 087ac6a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/source/whatsnew/v3.0.0.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,10 @@ Datetimelike
758758
- Bug in :meth:`to_datetime` reports incorrect index in case of any failure scenario. (:issue:`58298`)
759759
- Bug in :meth:`to_datetime` with ``format="ISO8601"`` and ``utc=True`` where naive timestamps incorrectly inherited timezone offset from previous timestamps in a series. (:issue:`61389`)
760760
- Bug in :meth:`to_datetime` wrongly converts when ``arg`` is a ``np.datetime64`` object with unit of ``ps``. (:issue:`60341`)
761+
- Bug in subtracting a :class:`Timestamp` from a :class:`DatetimeIndex` with
762+
``freq="D"`` dropping the frequency and causing subsequent
763+
:meth:`TimedeltaIndex.shift` calls to raise ``NullFrequencyError``
764+
(:issue:`62094`)
761765
- Bug in constructing arrays with :class:`ArrowDtype` with ``timestamp`` type incorrectly allowing ``Decimal("NaN")`` (:issue:`61773`)
762766
- Bug in constructing arrays with a timezone-aware :class:`ArrowDtype` from timezone-naive datetime objects incorrectly treating those as UTC times instead of wall times like :class:`DatetimeTZDtype` (:issue:`61775`)
763767
- Bug in setting scalar values with mismatched resolution into arrays with non-nanosecond ``datetime64``, ``timedelta64`` or :class:`DatetimeTZDtype` incorrectly truncating those scalars (:issue:`56410`)

0 commit comments

Comments
 (0)