2011/3/24 Dmitrey :
> Are there any plans for mergingĀ bottleneck into numpy?
No plans, but no particular opposition. bottleneck is a good place to
experiment with these optimizations. When they settle, it might be
worth folding them back in.
> Also, are those benchmarks valid for ordinary numpy
On Thu, Mar 24, 2011 at 6:19 AM, Ralf Gommers
<
ralf.gomm...@googlemail.com > wrote:
> 2011/3/24 Dmitrey < tm...@ukr.net >:
>> hi,
>> is there any way to get argmin and argmax of an array w/o nans?
>> Currently I have
> from numpy import
2011/3/24 Dmitrey <
tm...@ukr.net >:
> hi,
> is there any way to get argmin and argmax of an array w/o nans?
> Currently I have
from numpy import *
argmax([10,nan,100])
> 1
argmin([10,nan,100])
> 1
> But it's not the va
On Thu, Mar 24, 2011 at 6:19 AM, Ralf Gommers
wrote:
> 2011/3/24 Dmitrey :
>> hi,
>> is there any way to get argmin and argmax of an array w/o nans?
>> Currently I have
> from numpy import *
> argmax([10,nan,100])
>> 1
> argmin([10,nan,100])
>> 1
>> But it's not the values I would like
2011/3/24 Dmitrey :
> hi,
> is there any way to get argmin and argmax of an array w/o nans?
> Currently I have
from numpy import *
argmax([10,nan,100])
> 1
argmin([10,nan,100])
> 1
> But it's not the values I would like to get.
>
> The walkaround I use: get all indeces of nans, repla
hi,
is there any way to get argmin and argmax of an array w/o nans?
Currently I have
>>> from numpy import *
>>> argmax([10,nan,100])
1
>>> argmin([10,nan,100])
1
But it's not the values I would like to get.
The walkaround I use: get all indeces of nans, replace them by