method
ndarray.take(indices, axis=None, out=None, mode='raise') Return an array formed from the elements of a at the given indices.
Refer to numpy.take for full documentation.
See also
numpy.take
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.ndarray.take.html