Skip to content

Commit fa2378b

Browse files
DOC: typo
1 parent b63206b commit fa2378b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/generic.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -2939,10 +2939,10 @@ def interpolate(self, method='linear', axis=0, limit=None, inplace=False,
29392939
* 'index', 'values': use the actual numerical values of the index
29402940
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
29412941
'barycentric', 'polynomial' is passed to
2942-
`scipy.interpolate.interp1d` with the order given. Both
2943-
'polynomial' and 'spline' requre that you also specify and order
2944-
(int) e.g. df.interpolate(method='polynomial', order=4). These
2945-
use the actual numerical values of the index
2942+
``scipy.interpolate.interp1d``. Both 'polynomial' and 'spline'
2943+
require that you also specify an `order` (int),
2944+
e.g. df.interpolate(method='polynomial', order=4).
2945+
These use the actual numerical values of the index.
29462946
* 'krogh', 'piecewise_polynomial', 'spline', and 'pchip' are all
29472947
wrappers around the scipy interpolation methods of similar
29482948
names. These use the actual numerical values of the index. See

0 commit comments

Comments
 (0)