Re: [Numpy-discussion] take a numpy

2008-09-24 Thread Robert Kern
On Wed, Sep 24, 2008 at 21:29, Dinesh B Vadhia <[EMAIL PROTECTED]> wrote: > 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

[Numpy-discussion] take a numpy

2008-09-24 Thread Dinesh B Vadhia
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