From ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8 Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Mon, 13 Nov 2017 23:45:45 -0800 Subject: ENH: don't show boolean dtype, as it is implied --- doc/source/reference/arrays.indexing.rst | 2 +- doc/source/reference/maskedarray.baseclass.rst | 2 +- doc/source/reference/maskedarray.generic.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/source/reference') diff --git a/doc/source/reference/arrays.indexing.rst b/doc/source/reference/arrays.indexing.rst index c41a8df56..b5a44c22a 100644 --- a/doc/source/reference/arrays.indexing.rst +++ b/doc/source/reference/arrays.indexing.rst @@ -431,7 +431,7 @@ also supports boolean arrays and will work without any surprises. ... [ 9, 10, 11]]) >>> rows = (x.sum(-1) % 2) == 0 >>> rows - array([False, True, False, True], dtype=bool) + array([False, True, False, True]) >>> columns = [0, 2] >>> x[np.ix_(rows, columns)] array([[ 3, 5], diff --git a/doc/source/reference/maskedarray.baseclass.rst b/doc/source/reference/maskedarray.baseclass.rst index f35b0ea88..427ad1536 100644 --- a/doc/source/reference/maskedarray.baseclass.rst +++ b/doc/source/reference/maskedarray.baseclass.rst @@ -99,7 +99,7 @@ Attributes and properties of masked arrays ... mask=[(0, 0), (1, 0), (1, 1), (0, 1), (0, 0)], ... dtype=[('a', int), ('b', int)]) >>> x.recordmask - array([False, False, True, False, False], dtype=bool) + array([False, False, True, False, False]) .. attribute:: MaskedArray.fill_value diff --git a/doc/source/reference/maskedarray.generic.rst b/doc/source/reference/maskedarray.generic.rst index 1fee9a74a..07ad6c292 100644 --- a/doc/source/reference/maskedarray.generic.rst +++ b/doc/source/reference/maskedarray.generic.rst @@ -394,7 +394,7 @@ required to ensure propagation of any modification of the mask to the original. mask = [False False False], fill_value = 999999) >>> x.mask - array([False, True, False, False, True], dtype=bool) + array([False, True, False, False, True]) >>> x.data array([ 1, -1, 3, 4, 5]) -- cgit v1.2.1