
May 4, 2009
7:10 a.m.
2009/5/4 Neal Becker <ndbecker2@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/#a... Stéfan