[Numpy-discussion] PR: tiny documentation fix, please merge

2013-02-01 Thread Valentin Haenel
https://github.com/numpy/numpy/pull/2960 thanks V- ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] faster Array.take( floatindices.astype(int) ) ?

2013-02-01 Thread Charles R Harris
On Fri, Feb 1, 2013 at 6:24 AM, denis wrote: > Folks, > is there a way to speed up Array.take( floatindices.astype(int) ) ? > astype(int) makes a copy, floor() returns floats. > > (Is there a wiki of NumPy one-liners / various tricks ? > would sure beat googling.) > You can use floats for the

Re: [Numpy-discussion] Subclassing ndarray with concatenate

2013-02-01 Thread Todd
On Wed, Jan 30, 2013 at 11:20 AM, Sebastian Berg wrote: > > > > > > > > In my particular case at least, there are clear ways to > > handle corner > > > cases (like being passed a class that lacks these > > attributes), so in > > > principle there no problem

[Numpy-discussion] faster Array.take( floatindices.astype(int) ) ?

2013-02-01 Thread denis
Folks, is there a way to speed up Array.take( floatindices.astype(int) ) ? astype(int) makes a copy, floor() returns floats. (Is there a wiki of NumPy one-liners / various tricks ? would sure beat googling.) Thanks, cheers -- denis ___ NumPy-Discu