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
DEPR: DatetimeIndex.intersection with mixed timezones cast to UTC, not object (#45357)
* DEPR: DatetimeIndex.intersection with mixed timezones cast to UTC instead of object
* GH ref
* mypy fixup
Co-authored-by: Jeff Reback <[email protected]>
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.5.0.rst
+2
Original file line number
Diff line number
Diff line change
@@ -140,9 +140,11 @@ Slicing on a :class:`DataFrame` will not be affected.
140
140
Other Deprecations
141
141
^^^^^^^^^^^^^^^^^^
142
142
- Deprecated the keyword ``line_terminator`` in :meth:`DataFrame.to_csv` and :meth:`Series.to_csv`, use ``lineterminator`` instead; this is for consistency with :func:`read_csv` and the standard library 'csv' module (:issue:`9568`)
143
+
- Deprecated behavior of :meth:`DatetimeIndex.intersection` and :meth:`DatetimeIndex.symmetric_difference` (``union`` behavior was already deprecated in version 1.3.0) with mixed timezones; in a future version both will be cast to UTC instead of object dtype (:issue:`39328`, :issue:`45357`)
143
144
- Deprecated :meth:`DataFrame.iteritems`, :meth:`Series.iteritems`, :meth:`HDFStore.iteritems` in favor of :meth:`DataFrame.items`, :meth:`Series.items`, :meth:`HDFStore.items` (:issue:`45321`)
0 commit comments