Skip to content

Commit 97d9063

Browse files
committed
Match function arguments
1 parent 4cb240d commit 97d9063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/apply.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def map(
189189
func,
190190
args: tuple,
191191
kwargs: dict,
192-
engine_kwargs: dict | None,
192+
decorator: Callable | None,
193193
skip_na: bool,
194194
):
195195
"""
@@ -203,7 +203,7 @@ def apply(
203203
func,
204204
args: tuple,
205205
kwargs: dict,
206-
engine_kwargs: dict | None,
206+
decorator: Callable,
207207
axis: int | str,
208208
):
209209
"""
@@ -222,7 +222,7 @@ def apply(
222222
# list[Callable[..., Any] | str]]"; expected "Hashable"
223223
nb_looper = generate_apply_looper(
224224
func, # type: ignore[arg-type]
225-
**get_jit_arguments(engine_kwargs),
225+
**get_jit_arguments(decorator),
226226
)
227227
result = nb_looper(data, axis, *looper_args)
228228
# If we made the result 2-D, squeeze it back to 1-D

0 commit comments

Comments
 (0)