From df9df7f7e8340f9389543a4389022c07dbaf2e0d Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Mon, 25 Jan 2016 00:33:14 -0800 Subject: MAINT: Fix typos in docs --- doc/source/reference/arrays.ndarray.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/reference/arrays.ndarray.rst') diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst index 0f5fb92d7..201d01277 100644 --- a/doc/source/reference/arrays.ndarray.rst +++ b/doc/source/reference/arrays.ndarray.rst @@ -467,7 +467,7 @@ Truth value of an array (:func:`bool()`): Truth-value testing of an array invokes :meth:`ndarray.__nonzero__`, which raises an error if the number of - elements in the the array is larger than 1, because the truth value + elements in the array is larger than 1, because the truth value of such arrays is ambiguous. Use :meth:`.any() ` and :meth:`.all() ` instead to be clear about what is meant in such cases. (If the number of elements is 0, the array evaluates -- cgit v1.2.1