Re: [Numpy-discussion] np.diff on boolean arrays now raises

2017-06-15 Thread Charles R Harris
On Thu, Jun 15, 2017 at 6:16 AM, Charles R Harris wrote: > > > On Thu, Jun 15, 2017 at 4:35 AM, Ralf Gommers > wrote: > >> >> >> On Thu, Jun 15, 2017 at 7:08 PM, Jaime Fernández del Río < >> jaime.f...@gmail.com> wrote: >> >>> There is an ongoing discussion on github: >>> >>> https://github.com/

Re: [Numpy-discussion] np.diff on boolean arrays now raises

2017-06-15 Thread Charles R Harris
On Thu, Jun 15, 2017 at 4:35 AM, Ralf Gommers wrote: > > > On Thu, Jun 15, 2017 at 7:08 PM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> There is an ongoing discussion on github: >> >> https://github.com/numpy/numpy/issues/9251 >> >> In 1.13 np.diff has started raising on boolean

Re: [Numpy-discussion] np.diff on boolean arrays now raises

2017-06-15 Thread Sebastian Berg
On Thu, 2017-06-15 at 22:35 +1200, Ralf Gommers wrote: > > > On Thu, Jun 15, 2017 at 7:08 PM, Jaime Fernández del Río gmail.com> wrote: > > There is an ongoing discussion on github: > > > > https://github.com/numpy/numpy/issues/9251 > > > > In 1.13 np.diff has started raising on boolean arrays

Re: [Numpy-discussion] np.diff on boolean arrays now raises

2017-06-15 Thread Ralf Gommers
On Thu, Jun 15, 2017 at 7:08 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > There is an ongoing discussion on github: > > https://github.com/numpy/numpy/issues/9251 > > In 1.13 np.diff has started raising on boolean arrays, since subtraction > of boolean arrays is now deprecated. >

Re: [Numpy-discussion] Taking NumPy in Stride workshop at PyData Barcelona

2017-06-15 Thread Francesc Alted
2017-06-15 9:57 GMT+02:00 Kiko : > > > 2017-06-15 9:43 GMT+02:00 Gael Varoquaux : > >> +1 >> >> In my experience, there is a lack of deep understanding of numpy works, >> and people are happy to learn. >> >> Gaël >> >> On Thu, Jun 15, 2017 at 09:38:08AM +0200, Jaime Fernández del Río wrote: >> > I

Re: [Numpy-discussion] Taking NumPy in Stride workshop at PyData Barcelona

2017-06-15 Thread Kiko
2017-06-15 9:43 GMT+02:00 Gael Varoquaux : > +1 > > In my experience, there is a lack of deep understanding of numpy works, > and people are happy to learn. > > Gaël > > On Thu, Jun 15, 2017 at 09:38:08AM +0200, Jaime Fernández del Río wrote: > > I ended up going to the PyData event in Barcelona l

Re: [Numpy-discussion] Taking NumPy in Stride workshop at PyData Barcelona

2017-06-15 Thread Gael Varoquaux
+1 In my experience, there is a lack of deep understanding of numpy works, and people are happy to learn. Gaël On Thu, Jun 15, 2017 at 09:38:08AM +0200, Jaime Fernández del Río wrote: > I ended up going to the PyData event in Barcelona last month and running a > workshop there. The notebook I us

[Numpy-discussion] Taking NumPy in Stride workshop at PyData Barcelona

2017-06-15 Thread Jaime Fernández del Río
I ended up going to the PyData event in Barcelona last month and running a workshop there. The notebook I used can be found here: https://github.com/jaimefrio/pydatabcn2017/tree/master/taking_numpy_in_stride I was afraid that the content would be too technical, but all the feedback I got from att

[Numpy-discussion] np.diff on boolean arrays now raises

2017-06-15 Thread Jaime Fernández del Río
There is an ongoing discussion on github: https://github.com/numpy/numpy/issues/9251 In 1.13 np.diff has started raising on boolean arrays, since subtraction of boolean arrays is now deprecated. A decision has to be made whether: - raising an error is the correct thing to do, and only the d