Skip to content

Commit 8fc814c

Browse files
committed
restore comment
1 parent 99005e6 commit 8fc814c

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

pandas/core/apply.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,11 +1714,8 @@ def reconstruct_func(
17141714
or not and also normalize the keyword to get new order of columns.
17151715
17161716
If named aggregation is applied, `func` will be None, and kwargs contains the
1717-
column and aggregation function information to be parsed.
1718-
Each value in kwargs can be either:
1719-
- a tuple of (column, aggfunc)
1720-
- or a NamedAgg instance, which may also include additional *args and **kwargs
1721-
to be passed to the aggregation function.
1717+
column and aggregation function information to be parsed;
1718+
17221719
17231720
If named aggregation is not applied, `func` is either string (e.g. 'min') or
17241721
Callable, or list of them (e.g. ['min', np.max]), or the dictionary of column name
@@ -1732,9 +1729,8 @@ def reconstruct_func(
17321729
----------
17331730
func: agg function (e.g. 'min' or Callable) or list of agg functions
17341731
(e.g. ['min', np.max]) or dictionary (e.g. {'A': ['min', np.max]}).
1735-
**kwargs : dict
1736-
Keyword arguments used in is_multi_agg_with_relabel and
1737-
normalize_keyword_aggregation function for relabelling.
1732+
**kwargs: dict, kwargs used in is_multi_agg_with_relabel and
1733+
normalize_keyword_aggregation function for relabelling
17381734
17391735
Returns
17401736
-------

0 commit comments

Comments
 (0)