Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread Jeff Reback
FYI pandas followed the same pattern to deprecate float indexers (except for indexing in a Float64Index) about a year ago see here: http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#whatsnew-0140-deprecations > On Jul 2, 2015, at 9:18 PM, > wrote: > > > >> On Thu, Jul 2, 2015 at 8

Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread josef.pktd
On Thu, Jul 2, 2015 at 8:51 PM, Chris Barker - NOAA Federal < chris.bar...@noaa.gov> wrote: > Sent from my iPhone > > > > > The disadvantage I see is, that some weirder calculations would possible > > work most of the times, but not always, > > > > not sure if you can define a "tolerance" > > rea

Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread Chris Barker - NOAA Federal
Sent from my iPhone > > The disadvantage I see is, that some weirder calculations would possible > work most of the times, but not always, > not sure if you can define a "tolerance" > reasonable here unless it is exact. You could use a relative tolerance, but you'd still have to set that. Bett

Re: [Numpy-discussion] Video meeting this week

2015-07-02 Thread Carl Kleffner
unfortunately I can't start the hangout. Both Firefox and chrome hangs. Tried it again and again. For this reason a short status: I can now build the mingwpy toolchain as pip installable wheel. %USERPROFILE%\pydistutils.cfg should be configured to use the mingw compiler. With the preliminary mi

Re: [Numpy-discussion] Video meeting this week

2015-07-02 Thread Ralf Gommers
On Thu, Jul 2, 2015 at 10:01 PM, Honi Sanders wrote: > I’m interested in listening in just to see what it’s like, but I have to > leave after ~15 minutes because I have a meeting at 4:30. Is that too > disruptive? > Don't worry about it, just join as long as you can. Ralf > > > On Jul 2, 20

Re: [Numpy-discussion] Video meeting this week

2015-07-02 Thread Honi Sanders
I’m interested in listening in just to see what it’s like, but I have to leave after ~15 minutes because I have a meeting at 4:30. Is that too disruptive? > On Jul 2, 2015, at 3:59 PM, Nathaniel Smith wrote: > > Hi all, > > Meeting is starting in a few minutes! > > Hangouts link: > https://

Re: [Numpy-discussion] Video meeting this week

2015-07-02 Thread Nathaniel Smith
Hi all, Meeting is starting in a few minutes! Hangouts link: https://plus.google.com/hangouts/_/gxtuplvm6g7s55abhjexqerll4a Google doc for agenda and notes: https://docs.google.com/document/d/11KC2p3cCsbDVjLcQSCehUiWGyWDNCyOunKfrO7Q7m3E/edit?usp=sharing Wiki page: https://github.com/nump

Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread Sturla Molden
Antoine Pitrou wrote: > I don't think relaxing type checking here makes any good. I agee. NumPy should do the same as Python in this case. Sturla ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/num

[Numpy-discussion] Biased random number generator

2015-07-02 Thread Bachir Aoun
Dear All, I have recently developed some features that I think can be useful for others. I would like to contribute by providing the code of the following definitions BiasedRandomFloatGenerator BiasedRandomIntegerGenerator please find the help of those two classes here http://bachiraoun.github.i

Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread Antoine Pitrou
On Thu, 02 Jul 2015 08:40:13 -0400 Neal Becker wrote: > I'd be concerned that checking each index for exactness would be costly. > I'm also concerned that using floats for an index is frequently a mistake > and that a warning is what I want. Or just follow Python: Python 3.4.3 |Continuum Analyt

Re: [Numpy-discussion] floats for indexing, reshape - too strict ?

2015-07-02 Thread Neal Becker
josef.p...@gmail.com wrote: > On Wed, Jul 1, 2015 at 10:32 AM, Sebastian Berg > wrote: > >> On Mi, 2015-07-01 at 10:05 -0400, josef.p...@gmail.com wrote: >> > About the deprecation warning for using another type than integers, in >> > ones, reshape, indexing and so on: >> > >> > >> > Wouldn't it