Skip to content

Commit a147bb0

Browse files
committed
BUG: fix TypeError in __call__ in _akima_interpolate #33426
The TypeError was in __call__ due to using wrong kwarg `der` instead of `nu`.
1 parent 6c42496 commit a147bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/missing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def _akima_interpolate(xi, yi, x, der=0, axis=0):
473473
if der == 0:
474474
return P(x)
475475
elif is_scalar(der):
476-
return P(x, der=der)
476+
return P(x, nu=der)
477477
else:
478478
return [P(x, nu) for nu in der]
479479

0 commit comments

Comments
 (0)