We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7361570 commit 9241409Copy full SHA for 9241409
pandas/core/apply.py
@@ -49,7 +49,6 @@
49
from pandas.core._numba.executor import generate_apply_looper
50
import pandas.core.common as com
51
from pandas.core.construction import ensure_wrapped_if_datetimelike
52
-from pandas.core.groupby.generic import NamedAgg
53
from pandas.core.util.numba_ import (
54
get_jit_arguments,
55
prepare_function_arguments,
@@ -1752,6 +1751,7 @@ def reconstruct_func(
1752
1751
>>> reconstruct_func("min")
1753
(False, 'min', None, None)
1754
"""
+ from pandas.core.groupby.generic import NamedAgg
1755
1756
relabeling = func is None and (
1757
is_multi_agg_with_relabel(**kwargs)
0 commit comments