Skip to content

Commit ae11c8e

Browse files
committed
fix NamedAgg docstring
1 parent 7f752d5 commit ae11c8e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pandas/core/groupby/generic.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ class NamedAgg(_BaseNamedAgg):
126126
aggfunc : function or str
127127
Function to apply to the provided column. If string, the name of a built-in
128128
pandas function.
129-
*args : args passed to aggfunc
130-
**kwargs : kwargs passed to aggfunc
131-
129+
*args : tuple, optional
130+
args passed to aggfunc
131+
**kwargs : dict, optional
132+
kwargs passed to aggfunc
132133
133134
Examples
134135
--------

0 commit comments

Comments
 (0)