numpy.ma.put

ma.put(a, indices, values, mode='raise')[source]

Set storage-indexed locations to corresponding values.

This function is equivalent to MaskedArray.put, see that method for details.

See also

MaskedArray.put

© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.0/reference/generated/numpy.ma.put.html