numpy.ma.compress_cols

ma.compress_cols(a)[source]

Suppress whole columns of a 2-D array that contain masked values.

This is equivalent to np.ma.compress_rowcols(a, 1), see compress_rowcols for details.

See also

compress_rowcols