Re: [Numpy-discussion] Indexing with floats

2016-06-10 Thread Fabien
On 06/10/2016 01:48 PM, Robert Kern wrote: https://mail.scipy.org/pipermail/numpy-discussion/2012-December/064705.html https://github.com/numpy/numpy/issues/2810 https://github.com/numpy/numpy/pull/2891 https://github.com/numpy/numpy/pull/3243 https://mail.scipy.org/pipermail/numpy-discussion/201

Re: [Numpy-discussion] Indexing with floats

2016-06-10 Thread Robert Kern
On Fri, Jun 10, 2016 at 12:15 PM, Fabien wrote: > > Hi, > > I really tried to do my homework before asking this here, but I just couldn't find the relevant information anywhere... > > My question is about the rationale behind forbidding indexing with floats, i.e.: > > >>> x[2.] > __main__:1: Visib