numpy.ndarray.__setitem__

ndarray.__setitem__($self, key, value, /)

Set self[key] to value.