W3cubDocs

/NumPy 1.17

numpy.ma.compress_cols

numpy.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 extras.compress_rowcols for details.

See also

extras.compress_rowcols

© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.ma.compress_cols.html