Skip to content

Commit 1a4cd40

Browse files
committed
Add type ignore for call-overload
1 parent cbe1a9c commit 1a4cd40

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/core/missing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,10 @@ def func(yvalues: np.ndarray) -> None:
412412
mask=mask,
413413
**kwargs,
414414
)
415-
416-
np.apply_along_axis(func, axis, data)
415+
# error: No overload variant of "apply_along_axis" matches
416+
# argument types "Callable[[ndarray[Any, Any]], None]",
417+
# "int", "ndarray[Any, Any]"
418+
np.apply_along_axis(func, axis, data) # type: ignore[call-overload]
417419

418420

419421
def _index_to_interp_indices(index: Index, method: str) -> np.ndarray:

0 commit comments

Comments
 (0)