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: Fix DatetimeIndex timezone preservation when joining indexes with same timezone but different units (#61234)
* BUG: Fix DatetimeIndex timezone preservation when joining indexes with same timezone but different units
* TST: Split timezone preservation test into separate tests
Address review comments on PR #60080 by splitting the comprehensive test into
separate focused tests for each set operation (union, intersection, symmetric_difference).
* Remove unnecessary assert result.tz == idx1.tz
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v3.0.0.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -707,7 +707,7 @@ Timedelta
707
707
708
708
Timezones
709
709
^^^^^^^^^
710
-
-
710
+
- Bug in :meth:`DatetimeIndex.union`, :meth:`DatetimeIndex.intersection`, and :meth:`DatetimeIndex.symmetric_difference` changing timezone to UTC when merging two DatetimeIndex objects with the same timezone but different units (:issue:`60080`)
0 commit comments