diff options
author | Mark Wiebe <mwiebe@enthought.com> | 2011-07-26 17:07:03 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-08-27 07:26:47 -0600 |
commit | 91861a9638391361234a442497536204f6fe59e4 (patch) | |
tree | 779c8736c3ba369518dc54d7bb7225f3814cee7c /numpy/core/numeric.py | |
parent | 25a64c8023d00fe69daa72b09469b2c60ede03ac (diff) | |
download | numpy-91861a9638391361234a442497536204f6fe59e4.tar.gz |
ENH: missingdata: Part way through supporting the NPY_ITER_USE_MASKNA flag
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index e073128dd..a28ecdd19 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1335,7 +1335,7 @@ def array_repr(arr, max_line_width=None, precision=None, suppress_small=None): if arr.flags.maskna: lst += ", maskna=True" # If everything is NA, can't skip the type - if np.all(np.isna(arr)): + if skiptype and np.all(np.isna(arr)): skiptype = False if skiptype: |