Skip to content

Commit

Permalink
Makes example from docstring work (pandas-dev#25035)
Browse files Browse the repository at this point in the history
  • Loading branch information
heavelock authored and Pingviinituutti committed Feb 28, 2019
1 parent f108ec4 commit 7abe82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Expand Up @@ -6601,7 +6601,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
'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=4)``.
e.g. ``df.interpolate(method='polynomial', order=5)``.
These use the numerical values of the index.
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip', 'akima':
Wrappers around the SciPy interpolation methods of similar
Expand Down

0 comments on commit 7abe82e

Please sign in to comment.