Re: [Numpy-discussion] dtype related deprecations

2012-02-04 Thread Ralf Gommers
On Sun, Feb 5, 2012 at 12:24 AM, Mark Wiebe wrote: > > > On Sat, Feb 4, 2012 at 8:07 AM, Ralf Gommers > wrote: > >> >> >> On Wed, Dec 28, 2011 at 2:58 PM, Ralf Gommers < >> ralf.gomm...@googlemail.com> wrote: >> >>> Hi, >>> >>> I'm having some trouble cleaning up tests to deal with these two >>>

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Ralf Gommers
On Sun, Feb 5, 2012 at 7:33 AM, Travis Oliphant wrote: > I think supporting Python 2.5 and above is completely fine. I'd even be > in favor of bumping up to Python 2.6 for NumPy 1.7 and certainly for NumPy > 2.8 > > +1 for dropping Python 2.5 support also for an LTS release. That will make it a

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Travis Oliphant
I think supporting Python 2.5 and above is completely fine. I'd even be in favor of bumping up to Python 2.6 for NumPy 1.7 and certainly for NumPy 2.8 -Travis On Feb 4, 2012, at 10:13 PM, Bruce Southey wrote: > On Sat, Feb 4, 2012 at 6:07 PM, Charles R Harris > wrote: >> >> >> On Sat, Feb

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Bruce Southey
On Sat, Feb 4, 2012 at 6:07 PM, Charles R Harris wrote: > > > On Sat, Feb 4, 2012 at 3:03 PM, Travis Oliphant wrote: >> >> We are spending a lot of time on NumPy and will be for the next few >> months.  I think that 1.8 will be a better long term release.  We need a few >> more fundamental featur

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Charles R Harris
On Sat, Feb 4, 2012 at 3:03 PM, Travis Oliphant wrote: > We are spending a lot of time on NumPy and will be for the next few > months. I think that 1.8 will be a better long term release. We need a > few more fundamental features yet. > > Look for a roadmap document for discussion from Mark Wie

Re: [Numpy-discussion] dtype related deprecations

2012-02-04 Thread Mark Wiebe
On Sat, Feb 4, 2012 at 8:07 AM, Ralf Gommers wrote: > > > On Wed, Dec 28, 2011 at 2:58 PM, Ralf Gommers > wrote: > >> Hi, >> >> I'm having some trouble cleaning up tests to deal with these two >> deprecations: >> >> DeprecationWarning: Setting NumPy dtype names is deprecated, the dtype >> will be

Re: [Numpy-discussion] autocorrelation computation performance : use of np.correlate

2012-02-04 Thread Ralf Gommers
On Thu, Feb 2, 2012 at 1:58 AM, wrote: > On Wed, Feb 1, 2012 at 6:48 PM, Benjamin Root wrote: > > > > > > On Wednesday, February 1, 2012, Pierre Haessig > > > wrote: > >> Hi, > >> > >> [I'm not sure whether this discussion belongs to numpy-discussion or > >> scipy-dev] > >> > >> In day to day t

Re: [Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Travis Oliphant
We are spending a lot of time on NumPy and will be for the next few months. I think that 1.8 will be a better long term release. We need a few more fundamental features yet. Look for a roadmap document for discussion from Mark Wiebe and I within the week about NumPy 1.8 which has a target r

Re: [Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-04 Thread Naresh
Warren Weckesser enthought.com> writes: > > > On Sat, Feb 4, 2012 at 2:35 PM, Benjamin Root ou.edu> wrote: > > > On Saturday, February 4, 2012, Naresh Pai uark.edu> wrote:> I am somewhat new to Python (been coding with Matlab mostly). I am trying to  > > > simplify (and expedite) a piece

Re: [Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-04 Thread Warren Weckesser
On Sat, Feb 4, 2012 at 2:35 PM, Benjamin Root wrote: > > > On Saturday, February 4, 2012, Naresh Pai wrote: > > I am somewhat new to Python (been coding with Matlab mostly). I am > trying to > > simplify (and expedite) a piece of code that is currently a bottleneck > in a larger > > code. > > I

Re: [Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-04 Thread Jerome Kieffer
On Sat, 4 Feb 2012 14:35:08 -0600 Benjamin Root wrote: > > no.unique() can return indices and reverse indices. It would be trivial to > histogram the reverse indices using np.histogram(). Even np.histogram(abc,unique_elem) or something like this. Works if unique_elem is ordered. np.histogram

Re: [Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-04 Thread Benjamin Root
On Saturday, February 4, 2012, Naresh Pai wrote: > I am somewhat new to Python (been coding with Matlab mostly). I am trying to > simplify (and expedite) a piece of code that is currently a bottleneck in a larger > code. > I have a large array (7000 rows x 4500 columns) titled say, abc, and I am t

[Numpy-discussion] fast method to to count a particular value in a large matrix

2012-02-04 Thread Naresh Pai
I am somewhat new to Python (been coding with Matlab mostly). I am trying to simplify (and expedite) a piece of code that is currently a bottleneck in a larger code. I have a large array (7000 rows x 4500 columns) titled say, abc, and I am trying to find a fast method to count the number of instan

[Numpy-discussion] On making Numpy 1.7 a long term support release.

2012-02-04 Thread Charles R Harris
Hi All, In the discussion on deprecating old macros in 1.7 as part of pull request 189 the issue of how to move numpy forward and start clearing the decks of accumulated cruft arose. The proposal here is to make the 1.7 a long term support release that we

Re: [Numpy-discussion] dtype related deprecations

2012-02-04 Thread Ralf Gommers
On Wed, Dec 28, 2011 at 2:58 PM, Ralf Gommers wrote: > Hi, > > I'm having some trouble cleaning up tests to deal with these two > deprecations: > > DeprecationWarning: Setting NumPy dtype names is deprecated, the dtype > will become immutable in a future version > DeprecationWarning: DType strings

Re: [Numpy-discussion] Moving to gcc 4.* for win32 installers ?

2012-02-04 Thread Ralf Gommers
On Wed, Dec 14, 2011 at 6:50 PM, Ralf Gommers wrote: > > > On Wed, Dec 14, 2011 at 3:04 PM, David Cournapeau wrote: > >> On Tue, Dec 13, 2011 at 3:43 PM, Ralf Gommers >> wrote: >> > On Sun, Oct 30, 2011 at 12:18 PM, David Cournapeau >> > wrote: >> >> >> >> On Thu, Oct 27, 2011 at 5:19 PM, Ralf G