Fancy Indexing (NumPy)

Fancy indexing selects elements from a NumPy array by passing an array or list of integer positions.