From 3dc4b9a455c7da621fa6c2850362a26ee4fa8b50 Mon Sep 17 00:00:00 2001 From: Jeff Reback Date: Mon, 27 Mar 2017 17:33:55 -0400 Subject: [PATCH] more docs for exceptions --- pandas/errors/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index 19bff3d570a0e..f6719e7be421b 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -12,8 +12,10 @@ class PerformanceWarning(Warning): """ class UnsupportedFunctionCall(ValueError): - pass - + """ + If attempting to call a numpy function on a pandas + object. For example using ``np.cumsum(groupby_object)``. + """ class UnsortedIndexError(KeyError): """