This is documentation for an old release of NumPy (version 1.13.0). Read this page in the documentation of the latest stable release (version > 1.17).
Masked arrays¶
Masked arrays are arrays that may have missing or invalid entries.
The numpy.ma
module provides a nearly work-alike replacement for numpy
that supports data arrays with masks.