Skip to content

Commit 61105b9

Browse files
adamjstewartvictor
authored and
victor
committed
Add missing period to pandas.Series.interpolate docstring (pandas-dev#22217)
1 parent d5caca8 commit 61105b9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pandas/core/generic.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6098,9 +6098,9 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
60986098
* 'index', 'values': use the actual numerical values of the index
60996099
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
61006100
'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)``.
61046104
These use the actual numerical values of the index.
61056105
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip' and 'akima'
61066106
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,
61106110
<http://docs.scipy.org/doc/scipy/reference/interpolate.html#univariate-interpolation>`__
61116111
and `tutorial documentation
61126112
<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
61146115
replaces 'piecewise_polynomial' interpolation method in
61156116
scipy 0.18
61166117
61176118
.. versionadded:: 0.18.1
61186119
6119-
Added support for the 'akima' method
6120+
Added support for the 'akima' method.
61206121
Added interpolate method 'from_derivatives' which replaces
61216122
'piecewise_polynomial' in scipy 0.18; backwards-compatible with
61226123
scipy < 0.18

0 commit comments

Comments
 (0)