Skip to content

Commit 2e3ffa6

Browse files
authored
Adding to the function docs that groupby.transform() function parameter can be a string (#50002)
1 parent e5fb655 commit 2e3ffa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/groupby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ class providing the base-class of operations.
399399
400400
Parameters
401401
----------
402-
f : function
402+
f : function, str
403403
Function to apply to each group. See the Notes section below for requirements.
404404
405405
Can also accept a Numba JIT function with

0 commit comments

Comments
 (0)