Skip to content

Commit ec50b5a

Browse files
committed
DOC: Fix docstrings for errors
1 parent 1f3dce4 commit ec50b5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/errors/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ class NumbaUtilError(Exception):
410410
... )
411411
>>> def incorrect_function(x):
412412
... return sum(x) * 2.7
413-
>>> df.("key").agg(incorrect_function, engine="numba")
413+
>>> df.groupby("key").agg(incorrect_function, engine="numba")
414414
Traceback (most recent call last):
415415
NumbaUtilError: The first 2 arguments to incorrect_function
416-
must be ['values', 'index']groupby
416+
must be ['values', 'index']
417417
"""
418418

419419

0 commit comments

Comments
 (0)