Index.
take
Return a new Index of the values selected by the indices.
For internal compatibility with numpy arrays.
Indices to be taken.
The axis over which to select values, always 0.
If allow_fill=True and fill_value is not None, indices specified by -1 is regarded as NA. If Index doesn’t hold NA, raise ValueError.
Elements of given indices.
See also
numpy.ndarray.take
Return an array formed from the elements of a at the given indices.