User Guide
API reference
Development
GitHub
Twitter
Array objects
The N-dimensional array (
ndarray
)
Scalars
Data type objects (
dtype
)
Indexing
Iterating Over Arrays
Standard array subclasses
Masked arrays
The
numpy.ma
module
Constants of the
numpy.ma
module
Masked array operations
The Array Interface
Datetimes and Timedeltas
Constants
Universal functions (
ufunc
)
Routines
Typing (
numpy.typing
)
Global State
Packaging (
numpy.distutils
)
NumPy Distutils - Users Guide
NumPy C-API
NumPy internals
SIMD Optimizations
NumPy and SWIG
numpy.ma.MaskedArray.__setmask__
¶
method
ma.MaskedArray.
__setmask__
(
mask
,
copy
=
False
)
[source]
¶
Set the mask.
numpy.ma.MaskedArray.__contains__
numpy.ma.MaskedArray.harden_mask