numpy.ndarray.__setitem__

ndarray.__setitem__

x .__ setitem __(i,y)x [i] = y