From c7aa89eacf0580fea1931cba066ac20a35ccb9e9 Mon Sep 17 00:00:00 2001 From: Leo Edwards Date: Mon, 22 Jan 2018 15:51:46 +0000 Subject: [PATCH] DOC GH19312 --- pandas/core/series.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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