Skip to content

Commit acee8de

Browse files
committed
describe how to maintain the old behavior
1 parent 3aa091f commit acee8de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/source/whatsnew/v2.1.0.rst

+3
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ please specify ``utc=True``:
329329
data = ["2020-01-01 00:00:00+06:00", "2020-01-01 00:00:00+01:00"]
330330
pd.to_datetime(data, utc=True)
331331
332+
To create a ``Series`` with mixed offsets and ``object`` dtype, please use ``apply``
333+
and ``datetime.datetime.strptime``.
334+
332335
Other Deprecations
333336
~~~~~~~~~~~~~~~~~~
334337
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align` and :meth:`DataFrame.align`, upcast before calling ``align`` with ``left = DataFrame({col: left for col in right.columns}, index=right.index)`` (:issue:`51856`)

0 commit comments

Comments
 (0)