Indexing numpy array with another numpy array

According the NumPy tutorial, the correct way to do it is:

a[tuple(b)]

Leave a Comment