ndarray
ndarray.
take
Return an array formed from the elements ofa at the given indices.
Refer tonumpy.take for full documentation.
numpy.take
See also
numpy.ndarray.swapaxes
numpy.ndarray.tobytes