This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ma.compressed

numpy.ma.compressed(x)

Return a 1-D array of all the non-masked data.

See also

MaskedArray.compressed
equivalent method

Previous topic

numpy.ma.compress_rows

Next topic

numpy.ma.filled

This Page

Quick search