This is documentation for an old release of NumPy (version 1.14.5). Read this page in the documentation of the latest stable release (version > 1.17).
numpy.ndarray.take¶
-
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