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