[Numpy-discussion] take a numpy

Dinesh B Vadhia dineshbvadhia@hotmail....
Wed Sep 24 21:29:53 CDT 2008


I'm using numpy take() to pickout elements from a (1xM) array A indicated by the index numbers in indices ie.

B = A.take(indices = list_indexes)

It work perfectly but as A is large the performance isn't great and was wondering if there are faster methods available or ways to improve the use of take()?

Dinesh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080924/1e6f9774/attachment.html 


More information about the Numpy-discussion mailing list