diff --git a/pandas/core/series.py b/pandas/core/series.py index be40f65186d2d..00ea4960f0ebf 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -490,7 +490,8 @@ def compress(self, condition, *args, **kwargs): def nonzero(self): """ - Return the indices of the elements that are non-zero + Return the integer locations of the elements in the series + that are non-zero This method is equivalent to calling `numpy.nonzero` on the series data. For compatibility with NumPy, the return value is