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
BUG/CLN: datetimelike Index.equals may return True with non-Index
closes#13107
Author: sinhrks <[email protected]>
Closes#13986 from sinhrks/dti_equals and squashes the following commits:
580151a [sinhrks] BUG/CLN: move .equals to DatetimeOpsMixin
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.19.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -1461,6 +1461,7 @@ Bug Fixes
1461
1461
- Bug in operations on ``NaT`` returning ``float`` instead of ``datetime64[ns]`` (:issue:`12941`)
1462
1462
- Bug in ``Series`` flexible arithmetic methods (like ``.add()``) raises ``ValueError`` when ``axis=None`` (:issue:`13894`)
1463
1463
- Bug in ``DataFrame.to_csv()`` with ``MultiIndex`` columns in which a stray empty line was added (:issue:`6618`)
1464
+
- Bug in ``DatetimeIndex``, ``TimedeltaIndex`` and ``PeriodIndex.equals()`` may return ``True`` when input isn't ``Index`` but contains the same values (:issue:`13107`)
1464
1465
1465
1466
1466
1467
- Bug in ``Index`` raises ``KeyError`` displaying incorrect column when column is not in the df and columns contains duplicate values (:issue:`13822`)
0 commit comments