numpy.ma.compressed
-
ma.compressed(x)
[source] -
Return all the non-masked data as a 1-D array.
This function is equivalent to calling the “compressed” method of a
ma.MaskedArray
, seema.MaskedArray.compressed
for details.See also
-
ma.MaskedArray.compressed
-
Equivalent method.
-
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.ma.compressed.html