We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3dce4 commit ec50b5aCopy full SHA for ec50b5a
pandas/errors/__init__.py
@@ -410,10 +410,10 @@ class NumbaUtilError(Exception):
410
... )
411
>>> def incorrect_function(x):
412
... return sum(x) * 2.7
413
- >>> df.("key").agg(incorrect_function, engine="numba")
+ >>> df.groupby("key").agg(incorrect_function, engine="numba")
414
Traceback (most recent call last):
415
NumbaUtilError: The first 2 arguments to incorrect_function
416
- must be ['values', 'index']groupby
+ must be ['values', 'index']
417
"""
418
419
0 commit comments