ma.
compress_rows
Suppress whole rows of a 2-D array that contain masked values.
This is equivalent to np.ma.compress_rowcols(a, 0), see compress_rowcols for details.
np.ma.compress_rowcols(a, 0)
compress_rowcols
See also