Skip to content

Commit 3dc4b9a

Browse files
committed
more docs for exceptions
1 parent 2bb1fbd commit 3dc4b9a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/errors/__init__.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ class PerformanceWarning(Warning):
1212
"""
1313

1414
class UnsupportedFunctionCall(ValueError):
15-
pass
16-
15+
"""
16+
If attempting to call a numpy function on a pandas
17+
object. For example using ``np.cumsum(groupby_object)``.
18+
"""
1719

1820
class UnsortedIndexError(KeyError):
1921
"""

0 commit comments

Comments
 (0)