method
ndarray.
take
Return an array formed from the elements of a at the given indices.
Refer to numpy.take for full documentation.
numpy.take
See also
equivalent function