From 186e31c3a98747f2da84b85d92cac8b2cb987eca Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Wed, 9 Jul 2025 17:46:02 -0700 Subject: [PATCH 1/2] DOC: Update link to pytz documentation --- doc/source/user_guide/timeseries.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index ac0fc9e53ee94..7e7acc16f5809 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2541,7 +2541,7 @@ Fold is supported only for constructing from naive ``datetime.datetime`` or for constructing from components (see below). Only ``dateutil`` timezones are supported (see `dateutil documentation `__ for ``dateutil`` methods that deal with ambiguous datetimes) as ``pytz`` -timezones do not support fold (see `pytz documentation `__ +timezones do not support fold (see `pytz documentation `__ for details on how ``pytz`` deals with ambiguous datetimes). To localize an ambiguous datetime with ``pytz``, please use :meth:`Timestamp.tz_localize`. In general, we recommend to rely on :meth:`Timestamp.tz_localize` when localizing ambiguous datetimes if you need direct From 65aa2dce6f334322b6f5593af527e941ff2f3612 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Thu, 10 Jul 2025 18:31:41 -0700 Subject: [PATCH 2/2] Update the pytz link per the suggestion --- doc/source/user_guide/timeseries.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user_guide/timeseries.rst b/doc/source/user_guide/timeseries.rst index 7e7acc16f5809..66b560ea2b902 100644 --- a/doc/source/user_guide/timeseries.rst +++ b/doc/source/user_guide/timeseries.rst @@ -2541,7 +2541,7 @@ Fold is supported only for constructing from naive ``datetime.datetime`` or for constructing from components (see below). Only ``dateutil`` timezones are supported (see `dateutil documentation `__ for ``dateutil`` methods that deal with ambiguous datetimes) as ``pytz`` -timezones do not support fold (see `pytz documentation `__ +timezones do not support fold (see `pytz documentation `__ for details on how ``pytz`` deals with ambiguous datetimes). To localize an ambiguous datetime with ``pytz``, please use :meth:`Timestamp.tz_localize`. In general, we recommend to rely on :meth:`Timestamp.tz_localize` when localizing ambiguous datetimes if you need direct