Skip to content

Commit

Permalink
DOC: Reword Series.interpolate docstring for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
nmusolino committed Mar 1, 2019
1 parent db978c7 commit 9d1934a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -6610,10 +6610,10 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
* 'pad': Fill in NaNs using existing values.
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic', 'spline',
'barycentric', 'polynomial': Passed to
`scipy.interpolate.interp1d`. Both 'polynomial' and 'spline'
require that you also specify an `order` (int),
e.g. ``df.interpolate(method='polynomial', order=5)``.
These use the numerical values of the index.
`scipy.interpolate.interp1d`. These methods use the numerical
values of the index. Both 'polynomial' and 'spline' require that
you also specify an `order` (int), e.g.
``df.interpolate(method='polynomial', order=5)``.
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip', 'akima':
Wrappers around the SciPy interpolation methods of similar
names. See `Notes`.
Expand Down

0 comments on commit 9d1934a

Please sign in to comment.