Skip to content

Commit 4dfc240

Browse files
authored
Merge branch 'pandas-dev:master' into multiindexTest
2 parents 9ea7689 + 091c9a0 commit 4dfc240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/timeseries.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2424,7 +2424,7 @@ you can use the ``tz_convert`` method.
24242424

24252425
For ``pytz`` time zones, it is incorrect to pass a time zone object directly into
24262426
the ``datetime.datetime`` constructor
2427-
(e.g., ``datetime.datetime(2011, 1, 1, tz=pytz.timezone('US/Eastern'))``.
2427+
(e.g., ``datetime.datetime(2011, 1, 1, tzinfo=pytz.timezone('US/Eastern'))``.
24282428
Instead, the datetime needs to be localized using the ``localize`` method
24292429
on the ``pytz`` time zone object.
24302430

0 commit comments

Comments
 (0)