@@ -6098,9 +6098,9 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
6098
6098
* 'index', 'values': use the actual numerical values of the index
6099
6099
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
6100
6100
'barycentric', 'polynomial' is passed to
6101
- `` scipy.interpolate.interp1d`` . Both 'polynomial' and 'spline'
6102
- require that you also specify an `order` (int),
6103
- e.g. df.interpolate(method='polynomial', order=4).
6101
+ :class:` scipy.interpolate.interp1d`. Both 'polynomial' and
6102
+ 'spline' require that you also specify an `order` (int),
6103
+ e.g. `` df.interpolate(method='polynomial', order=4)`` .
6104
6104
These use the actual numerical values of the index.
6105
6105
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima'
6106
6106
are all wrappers around the scipy interpolation methods of
@@ -6110,13 +6110,14 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
6110
6110
<http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`__
6111
6111
and `tutorial documentation
6112
6112
<http://docs.scipy.org/doc/scipy/reference/tutorial/interpolate.html>`__
6113
- * 'from_derivatives' refers to BPoly.from_derivatives which
6113
+ * 'from_derivatives' refers to
6114
+ :meth:`scipy.interpolate.BPoly.from_derivatives` which
6114
6115
replaces 'piecewise_polynomial' interpolation method in
6115
6116
scipy 0.18
6116
6117
6117
6118
.. versionadded:: 0.18.1
6118
6119
6119
- Added support for the 'akima' method
6120
+ Added support for the 'akima' method.
6120
6121
Added interpolate method 'from_derivatives' which replaces
6121
6122
'piecewise_polynomial' in scipy 0.18; backwards-compatible with
6122
6123
scipy < 0.18
0 commit comments