Indexing numpy array with another numpy array June 2, 2023 by Tarik According the NumPy tutorial, the correct way to do it is: a[tuple(b)]