numpy.ndarray.__setitem__ ========================= .. currentmodule:: numpy .. automethod:: ndarray.__setitem__