numpy.ndarray.__getitem__

attribute

ndarray.__getitem__

x.__getitem__(y) <==> x[y]