2009/5/4 Neal Becker <ndbecker2 at gmail.com>: > Turns out that if A is an np.array and B is an np.array, then > A[B] will do exactly what I wanted. > > Is this mentioned anywhere in the documentation? http://docs.scipy.org/numpy/docs/numpy-docs/reference/arrays.indexing.rst/#arrays-indexing Stéfan