method
Set a.flat[n] = values[n] for all n in indices.
a.flat[n] = values[n]
n
Refer to numpy.put for full documentation.
numpy.put
See also
equivalent function
© 2005–2024 NumPy DevelopersLicensed under the 3-clause BSD License. https://numpy.org/doc/2.4/reference/generated/numpy.char.chararray.put.html