SciPy

numpy.ndarray.__setitem__

ndarray.__setitem__

x.__setitem__(i, y) <==> x[i]=y