Skip to content

Commit 9241409

Browse files
committed
fix circular import error
1 parent 7361570 commit 9241409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/apply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
from pandas.core._numba.executor import generate_apply_looper
5050
import pandas.core.common as com
5151
from pandas.core.construction import ensure_wrapped_if_datetimelike
52-
from pandas.core.groupby.generic import NamedAgg
5352
from pandas.core.util.numba_ import (
5453
get_jit_arguments,
5554
prepare_function_arguments,
@@ -1752,6 +1751,7 @@ def reconstruct_func(
17521751
>>> reconstruct_func("min")
17531752
(False, 'min', None, None)
17541753
"""
1754+
from pandas.core.groupby.generic import NamedAgg
17551755

17561756
relabeling = func is None and (
17571757
is_multi_agg_with_relabel(**kwargs)

0 commit comments

Comments
 (0)