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/v0.24.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -1036,6 +1036,7 @@ Deprecations
1036
1036
- Constructing a :class:`TimedeltaIndex` from data with ``datetime64``-dtyped data is deprecated, will raise ``TypeError`` in a future version (:issue:`23539`)
1037
1037
- The ``keep_tz=False`` option (the default) of the ``keep_tz`` keyword of
1038
1038
:meth:`DatetimeIndex.to_series` is deprecated (:issue:`17832`).
1039
+
- Timezone converting a tz-aware ``datetime.datetime`` or :class:`Timestamp` with :class:`Timestamp` and the ``tz`` argument is now deprecated. Instead, use :meth:`Timestamp.tz_convert` (:issue:`23579`)
0 commit comments