attribute
MaskedArray.flat
Return a flat iterator, or set a flattened version of self to value.
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.ma.MaskedArray.flat.html