[Numpy-discussion] apply table lookup to each element

Stéfan van der Walt stefan@sun.ac...
Mon May 4 07:10:58 CDT 2009

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?



More information about the Numpy-discussion mailing list