@@ -7369,9 +7369,9 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
7369
7369
Resample a time series by changing the frequency of the index.
7370
7370
7371
7371
Convenience method for frequency conversion and resampling of time
7372
- series. Object must have a datetime-like index (DatetimeIndex,
7373
- PeriodIndex, or TimedeltaIndex), or pass datetime-like values
7374
- to the on or level keyword.
7372
+ series. Object must have a datetime-like index (`` DatetimeIndex`` ,
7373
+ `` PeriodIndex`` , or `` TimedeltaIndex`` ), or pass datetime-like values
7374
+ to the ``on`` or `` level`` keyword.
7375
7375
7376
7376
Parameters
7377
7377
----------
@@ -7381,17 +7381,17 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
7381
7381
Method for down-/re-sampling, default to ‘mean’ for downsampling.
7382
7382
7383
7383
.. deprecated:: 0.18.0
7384
- The new syntax is .resample(...).mean(), or
7385
- .resample(...).apply(<func>)
7384
+ The new syntax is `` .resample(...).mean()`` , or
7385
+ `` .resample(...).apply(<func>)``
7386
7386
axis : int, optional, default 0
7387
7387
Which index to use for up- or down-sampling. Must be
7388
7388
``DatetimeIndex``, ``TimedeltaIndex`` or ``PeriodIndex``.
7389
7389
fill_method : string, default None
7390
7390
Filling method for upsampling.
7391
7391
7392
7392
.. deprecated:: 0.18.0
7393
- The new syntax is .resample(...).<func>(),
7394
- e.g. .resample(...).pad()
7393
+ The new syntax is `` .resample(...).<func>()`` ,
7394
+ e.g. `` .resample(...).pad()``
7395
7395
closed : {'right', 'left'}
7396
7396
Which side of bin interval is closed. The default is 'left'
7397
7397
for all frequency offsets except for 'M', 'A', 'Q', 'BM',
@@ -7401,8 +7401,8 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
7401
7401
for all frequency offsets except for 'M', 'A', 'Q', 'BM',
7402
7402
'BA', 'BQ', and 'W' which all have a default of 'right'.
7403
7403
convention : {'start', 'end', 's', 'e'}
7404
- For PeriodIndex only, controls whether to use the start or end of
7405
- ` rule`.
7404
+ For `` PeriodIndex`` only, controls whether to use the start or
7405
+ end of `` rule` `.
7406
7406
kind : {'timestamp', 'period'} optional
7407
7407
Pass 'timestamp' to convert the resulting index to a
7408
7408
``DateTimeIndex`` or 'period' to convert it to a ``PeriodIndex``.
@@ -7425,7 +7425,7 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
7425
7425
7426
7426
level : string or int, optional
7427
7427
For a MultiIndex, level (name or number) to use for
7428
- resampling. Level must be datetime-like.
7428
+ resampling. ``level`` must be datetime-like.
7429
7429
7430
7430
.. versionadded:: 0.19.0
7431
7431
0 commit comments