Skip to content

Commit d1ce4ca

Browse files
Fix typos.
1 parent 1584cc0 commit d1ce4ca

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
@@ -7249,13 +7249,13 @@ def interpolate(
72497249
* 'pad': Fill in NaNs using existing values.
72507250
* 'nearest', 'zero', 'slinear', 'quadratic', 'cubic',
72517251
'barycentric', 'polynomial': Passed to
7252-
`scipy.interpolate.interp1d`, whereas 'spline' is assed to
7252+
`scipy.interpolate.interp1d`, whereas 'spline' is passed to
72537253
`scipy.interpolate.UnivariateSpline`. These methods use the numerical
72547254
values of the index. Both 'polynomial' and 'spline' require that
72557255
you also specify an `order` (int), e.g.
7256-
``df.interpolate(method='polynomial', order=5)``. Note that, Scipy
7257-
`slinear` method refers to the Scipy first order spline instead
7258-
of Pandas first order spline.
7256+
``df.interpolate(method='polynomial', order=5)``. Note that,
7257+
`slinear` method in Pandas refers to the Scipy first order `spline` instead
7258+
of Pandas first order `spline`.
72597259
* 'krogh', 'piecewise_polynomial', 'spline', 'pchip', 'akima',
72607260
'cubicspline': Wrappers around the SciPy interpolation methods of
72617261
similar names. See `Notes`.

0 commit comments

Comments
 (0)