diff options
| author | Eric Wieser <wieser.eric@gmail.com> | 2017-11-13 23:45:45 -0800 |
|---|---|---|
| committer | Eric Wieser <wieser.eric@gmail.com> | 2017-11-13 23:45:45 -0800 |
| commit | ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8 (patch) | |
| tree | 589c9f85e52a75a16ed949c14bfa39777e651fc4 /doc/source/reference | |
| parent | bd80585cdae1d43fabb30ae0e184c2e40deb11e6 (diff) | |
| download | numpy-ac6b1a902b99e340cf7eeeeb7392c91e38db9dd8.tar.gz | |
ENH: don't show boolean dtype, as it is implied
Diffstat (limited to 'doc/source/reference')
| -rw-r--r-- | doc/source/reference/arrays.indexing.rst | 2 | ||||
| -rw-r--r-- | doc/source/reference/maskedarray.baseclass.rst | 2 | ||||
| -rw-r--r-- | doc/source/reference/maskedarray.generic.rst | 2 |
3 files changed, 3 insertions, 3 deletions
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]) |
