Skip to content

Commit 7abe82e

Browse files
heavelockPingviinituutti
authored andcommitted
Makes example from docstring work (pandas-dev#25035)
1 parent f108ec4 commit 7abe82e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6601,7 +6601,7 @@ def replace(self, to_replace=None, value=None, inplace=False, limit=None,
66016601
'barycentric', 'polynomial': Passed to
66026602
`scipy.interpolate.interp1d`. Both 'polynomial' and 'spline'
66036603
require that you also specify an `order` (int),
6604-
e.g. ``df.interpolate(method='polynomial', order=4)``.
6604+
e.g. ``df.interpolate(method='polynomial', order=5)``.
66056605
These use the numerical values of the index.
66066606
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip', 'akima':
66076607
Wrappers around the SciPy interpolation methods of similar

0 commit comments

Comments
 (0)