On Wed, 2012-12-12 at 20:48 +, Nathaniel Smith wrote:
> On Wed, Dec 12, 2012 at 8:20 PM, Ralf Gommers wrote:
> >
> > On Tue, Dec 11, 2012 at 5:44 PM, Neal Becker wrote:
> >>
> >> I think it's a misfeature that a floating point is silently accepted as an
> >> index. I would prefer a warning f
On Wed, Dec 12, 2012 at 9:09 PM, David Warde-Farley
wrote:
> On Wed, Dec 12, 2012 at 3:20 PM, Ralf Gommers wrote:
>> For numpy indexing this may not be appropriate though; checking every index
>> value used could slow things down and/or be quite disruptive.
>
> For array fancy indices, a dtype ch
On Wed, Dec 12, 2012 at 3:20 PM, Ralf Gommers wrote:
> For numpy indexing this may not be appropriate though; checking every index
> value used could slow things down and/or be quite disruptive.
For array fancy indices, a dtype check on the entire array would
suffice. For lists and scalars, I dou
On Wed, Dec 12, 2012 at 8:20 PM, Ralf Gommers wrote:
>
> On Tue, Dec 11, 2012 at 5:44 PM, Neal Becker wrote:
>>
>> I think it's a misfeature that a floating point is silently accepted as an
>> index. I would prefer a warning for:
>>
>> bins = np.arange (...)
>>
>> for b in bins:
>> ...
>> w[b]
On Tue, Dec 11, 2012 at 5:44 PM, Neal Becker wrote:
> I think it's a misfeature that a floating point is silently accepted as an
> index. I would prefer a warning for:
>
> bins = np.arange (...)
>
> for b in bins:
> ...
> w[b] = blah
>
> when I meant:
>
> for ib,b in enumerate (bins):
> w[ib
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
Hi everyone,
Just FYI, IPython just received $1.15 million in funding from the Alfred
P. Sloan Foundation to support development over the next 2 years.
Fernando talks more about this in his post to the IPython mailing list:
http://mail.scipy.org/pipermail/ipython-dev/2012-December/010799.html