numpy.ndarray.__setitem__#

method

ndarray.__setitem__(key, value, /)#

Set self[key] to value.