This is documentation for an old release of NumPy (version 1.17). Read this page in the documentation of the latest stable release (version 2.2).
numpy.ma.MaskType.compress¶
method
-
MaskType.
compress
()¶ Not implemented (virtual attribute)
Class generic exists solely to derive numpy scalars from, and possesses, albeit unimplemented, all the attributes of the ndarray class so as to provide a uniform API.
See also the corresponding attribute of the derived class of interest.