Skip to content

Commit a6b5e16

Browse files
authored
DOC: Fix code formatting and typos in Series.tz_localize (#35110)
1 parent a4e19fa commit a6b5e16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/generic.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -9580,8 +9580,9 @@ def tz_localize(
95809580
dtype: int64
95819581
95829582
If the DST transition causes nonexistent times, you can shift these
9583-
dates forward or backwards with a timedelta object or `'shift_forward'`
9584-
or `'shift_backwards'`.
9583+
dates forward or backward with a timedelta object or `'shift_forward'`
9584+
or `'shift_backward'`.
9585+
95859586
>>> s = pd.Series(range(2),
95869587
... index=pd.DatetimeIndex(['2015-03-29 02:30:00',
95879588
... '2015-03-29 03:30:00']))

0 commit comments

Comments
 (0)