@@ -10136,7 +10136,7 @@ def tz_convert(
10136
10136
Parameters
10137
10137
----------
10138
10138
tz : str or tzinfo object or None
10139
- Time zone to convert index to . Passing ``None`` will convert to
10139
+ Target time zone . Passing ``None`` will convert to
10140
10140
UTC and remove the timezone information.
10141
10141
axis : the axis to convert
10142
10142
level : int, str, default None
@@ -10165,7 +10165,7 @@ def tz_convert(
10165
10165
2018-09-15 07:30:00+08:00 1
10166
10166
dtype: int64
10167
10167
10168
- Convert to UTC and get a tz-naive index:
10168
+ Pass None to convert to UTC and get a tz-naive index:
10169
10169
10170
10170
>>> s = pd.Series([1],
10171
10171
... index=pd.DatetimeIndex(['2018-09-15 01:30:00+02:00']))
@@ -10223,7 +10223,7 @@ def tz_localize(
10223
10223
Parameters
10224
10224
----------
10225
10225
tz : str or tzinfo or None
10226
- Time zone to convert the index to. pass ``None`` will remove the
10226
+ Time zone to localize. Passing ``None`` will remove the
10227
10227
time zone information and preserve local time.
10228
10228
axis : the axis to localize
10229
10229
level : int, str, default None
@@ -10280,7 +10280,7 @@ def tz_localize(
10280
10280
2018-09-15 01:30:00+02:00 1
10281
10281
dtype: int64
10282
10282
10283
- Convert to tz-naive index and preserve local time:
10283
+ Pass None to convert to tz-naive index and preserve local time:
10284
10284
10285
10285
>>> s = pd.Series([1],
10286
10286
... index=pd.DatetimeIndex(['2018-09-15 01:30:00+02:00']))
0 commit comments