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