@@ -10140,7 +10140,7 @@ def tz_convert(
10140
10140
Parameters
10141
10141
----------
10142
10142
tz : str or tzinfo object or None
10143
- Time zone to convert index to . Passing ``None`` will convert to
10143
+ Target time zone . Passing ``None`` will convert to
10144
10144
UTC and remove the timezone information.
10145
10145
axis : the axis to convert
10146
10146
level : int, str, default None
@@ -10169,7 +10169,7 @@ def tz_convert(
10169
10169
2018-09-15 07:30:00+08:00 1
10170
10170
dtype: int64
10171
10171
10172
- Convert to UTC and get a tz-naive index:
10172
+ Pass None to convert to UTC and get a tz-naive index:
10173
10173
10174
10174
>>> s = pd.Series([1],
10175
10175
... index=pd.DatetimeIndex(['2018-09-15 01:30:00+02:00']))
@@ -10227,7 +10227,7 @@ def tz_localize(
10227
10227
Parameters
10228
10228
----------
10229
10229
tz : str or tzinfo or None
10230
- Time zone to convert the index to. pass ``None`` will remove the
10230
+ Time zone to localize. Passing ``None`` will remove the
10231
10231
time zone information and preserve local time.
10232
10232
axis : the axis to localize
10233
10233
level : int, str, default None
@@ -10284,7 +10284,7 @@ def tz_localize(
10284
10284
2018-09-15 01:30:00+02:00 1
10285
10285
dtype: int64
10286
10286
10287
- Convert to tz-naive index and preserve local time:
10287
+ Pass None to convert to tz-naive index and preserve local time:
10288
10288
10289
10289
>>> s = pd.Series([1],
10290
10290
... index=pd.DatetimeIndex(['2018-09-15 01:30:00+02:00']))
0 commit comments