File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -404,16 +404,20 @@ class providing the base-class of operations.
404
404
405
405
Accepted inputs are:
406
406
407
- - A String
408
- - Numba JIT function with
409
- ``engine='numba'`` specified.
407
+ - string function name
408
+ - Numba JIT function with ``engine='numba'`` specified.
410
409
411
410
If the ``'numba'`` engine is chosen, the function must be
412
411
a user defined function with ``values`` and ``index`` as the
413
412
first and second arguments respectively in the function signature.
414
413
Each group's index will be passed to the user defined function
415
414
and optionally available for use.
416
415
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
+
417
421
.. versionchanged:: 1.1.0
418
422
*args
419
423
Positional arguments to pass to func.
You can’t perform that action at this time.
0 commit comments