numpy / 1.19.0 / reference / generated / numpy.ndarray.take.html /

numpy.ndarray.take

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

equivalent function

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.19/reference/generated/numpy.ndarray.take.html