Skip to content

Commit 3aa091f

Browse files
committed
Merge branch 'DEPR-to_datetime-mixed-offsets-with-utc=False' of https://github.com/natmokval/pandas into DEPR-to_datetime-mixed-offsets-with-utc=False
2 parents 5e5adc6 + 04ef036 commit 3aa091f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/source/whatsnew/v2.1.0.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Other API changes
298298
Deprecate parsing datetimes with mixed time zones
299299
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
300300

301-
Parsing datetimes with mixed time zones is deprecated and will show a warning unless user passes ``utc=True`` to :func:`to_datetime` (:issue:`50887`)
301+
Parsing datetimes with mixed time zones is deprecated and shows a warning unless user passes ``utc=True`` to :func:`to_datetime` (:issue:`50887`)
302302

303303
*Previous behavior*:
304304

@@ -321,7 +321,8 @@ Parsing datetimes with mixed time zones is deprecated and will show a warning un
321321
and silence this warning.
322322
Index([2020-01-01 00:00:00+06:00, 2020-01-01 00:00:00+01:00], dtype='object')
323323
324-
In order to opt in to the new behaviour and silence this warning please specify ``utc=True``:
324+
In order to silence this warning and avoid an error in a future version of pandas,
325+
please specify ``utc=True``:
325326

326327
.. ipython:: python
327328

0 commit comments

Comments
 (0)