@@ -3635,14 +3635,17 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
3635
3635
require that you also specify an `order` (int),
3636
3636
e.g. df.interpolate(method='polynomial', order=4).
3637
3637
These use the actual numerical values of the index.
3638
- * 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima' are all
3639
- wrappers around the scipy interpolation methods of similar
3640
- names. These use the actual numerical values of the index. See
3641
- the scipy documentation for more on their behavior
3642
- `here <http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`__ # noqa
3643
- `and here <http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html>`__ # noqa
3638
+ * 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima'
3639
+ are all wrappers around the scipy interpolation methods of
3640
+ similar names. These use the actual numerical values of the
3641
+ index. For more information on their behavior, see the
3642
+ `scipy documentation
3643
+ <http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`__
3644
+ and `tutorial documentation
3645
+ <http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html>`__
3644
3646
* 'from_derivatives' refers to BPoly.from_derivatives which
3645
- replaces 'piecewise_polynomial' interpolation method in scipy 0.18
3647
+ replaces 'piecewise_polynomial' interpolation method in
3648
+ scipy 0.18
3646
3649
3647
3650
.. versionadded:: 0.18.1
3648
3651
@@ -3656,7 +3659,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
3656
3659
* 1: fill row-by-row
3657
3660
limit : int, default None.
3658
3661
Maximum number of consecutive NaNs to fill.
3659
- limit_direction : {'forward', 'backward', 'both'}, defaults to 'forward'
3662
+ limit_direction : {'forward', 'backward', 'both'}, default 'forward'
3660
3663
If limit is specified, consecutive NaNs will be filled in this
3661
3664
direction.
3662
3665
@@ -4159,6 +4162,9 @@ def resample(self, rule, how=None, axis=0, fill_method=None, closed=None,
4159
4162
4160
4163
.. versionadded:: 0.19.0
4161
4164
4165
+ Notes
4166
+ -----
4167
+
4162
4168
To learn more about the offset strings, please see `this link
4163
4169
<http://pandas.pydata.org/pandas-docs/stable/timeseries.html#offset-aliases>`__.
4164
4170
@@ -4346,7 +4352,7 @@ def rank(self, axis=0, method='average', numeric_only=None,
4346
4352
4347
4353
Parameters
4348
4354
----------
4349
- axis: {0 or 'index', 1 or 'columns'}, default 0
4355
+ axis : {0 or 'index', 1 or 'columns'}, default 0
4350
4356
index to direct ranking
4351
4357
method : {'average', 'min', 'max', 'first', 'dense'}
4352
4358
* average: average rank of group
0 commit comments