### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.compressed

`numpy.ma.``compressed`(x)

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

  This function is equivalent to calling the “compressed” method of a MaskedArray, see MaskedArray.compressed for details.

  See also

  `MaskedArray.compressed`
    Equivalent method.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.5 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »