Skip to content

Commit 4cb240d

Browse files
committed
precommit
1 parent db9f3b0 commit 4cb240d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/apply.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
ABCSeries,
4646
)
4747

48+
from pandas.core._numba.executor import generate_apply_looper
4849
import pandas.core.common as com
4950
from pandas.core.construction import ensure_wrapped_if_datetimelike
50-
from pandas.core._numba.executor import generate_apply_looper
5151
from pandas.core.util.numba_ import (
5252
get_jit_arguments,
5353
prepare_function_arguments,
@@ -211,7 +211,7 @@ def apply(
211211
"""
212212

213213
looper_args, looper_kwargs = prepare_function_arguments(
214-
func, # type: ignore[arg-type]
214+
func, # type: ignore[arg-type]
215215
args,
216216
kwargs,
217217
num_required_args=1,
@@ -221,8 +221,8 @@ def apply(
221221
# [..., Any] | str] | dict[Hashable,Callable[..., Any] | str |
222222
# list[Callable[..., Any] | str]]"; expected "Hashable"
223223
nb_looper = generate_apply_looper(
224-
func, # type: ignore[arg-type]
225-
**get_jit_arguments(engine_kwargs)
224+
func, # type: ignore[arg-type]
225+
**get_jit_arguments(engine_kwargs),
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)