Skip to content

Commit 3b84281

Browse files
committed
doc: updating docs to fix PR comments
1 parent ef6c095 commit 3b84281

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/core/groupby/groupby.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,16 +404,20 @@ class providing the base-class of operations.
404404
405405
Accepted inputs are:
406406
407-
- A String
408-
- Numba JIT function with
409-
``engine='numba'`` specified.
407+
- string function name
408+
- Numba JIT function with ``engine='numba'`` specified.
410409
411410
If the ``'numba'`` engine is chosen, the function must be
412411
a user defined function with ``values`` and ``index`` as the
413412
first and second arguments respectively in the function signature.
414413
Each group's index will be passed to the user defined function
415414
and optionally available for use.
416415
416+
If a string is chosen, then it needs to be the string of the
417+
function you want to use.
418+
419+
IE: ``grouped.transform("sum")``
420+
417421
.. versionchanged:: 1.1.0
418422
*args
419423
Positional arguments to pass to func.

0 commit comments

Comments
 (0)