Set a.flat[n] = values[n] for all n in indices.
Refer to numpy.put for full documentation.
See also
numpy.core.defchararray.chararray.ptp
numpy.core.defchararray.chararray.ravel
Enter search terms or a module, class or function name.