numpy.ma.MaskType.compress

method

ma.MaskType.compress()

Scalar method identical to the corresponding array attribute.

Please see ndarray.compress.