[Numpy-discussion] Multiple comment tokens for loadtxt

2014-09-04 Thread Joseph Martinot-Lagarde
loadtxt currently has a keyword to change the comment token. The PR #4612 [1] enables to define multiple comment token for a file. It is motivated by #2633 [2] What is your position on this one ? Joseph [1] https://github.com/numpy/numpy/pull/4612 [2] https://github.com/numpy/numpy/i

[Numpy-discussion] 'norm' keyword for FFT functions

2014-09-04 Thread Joseph Martinot-Lagarde
I have an old PR [1] to fix #2142 [2]. The idea is to have a new keyword for all fft functions to define the normalisation of the fft: - if 'norm' is None (the default), the normalisation is the current one: fft() is not normalized ans ifft is normalized by 1/n. - if norm is "ortho", the direct and

Re: [Numpy-discussion] SFMT (faster mersenne twister)

2014-09-04 Thread Robert Kern
On Thu, Sep 4, 2014 at 12:32 PM, Neal Becker wrote: > http://www.math.sci.hiroshima-u.ac.jp/~%20m-mat/MT/SFMT/index.html What would you like to say about it? -- Robert Kern ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Eelco Hoogendoorn
Naturally, youd want to avoid redoing the indexing where you can, which is another good reason to factor out the indexing mechanisms into separate classes. A factor two performance difference does not get me too excited; again, I think it would be the other way around for an out-of-cache dataset be

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Jeff Reback
FYI pandas DOES use a very performant hash table impl for unique (and value_counts). Sorted state IS maintained by underlying Index implmentation. https://github.com/pydata/pandas/blob/master/pandas/hashtable.pyx In [8]: a = np.random.randint(10, size=(1,)) In [9]: %timeit np.unique(a) 1000 l

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Eelco Hoogendoorn
On Thu, Sep 4, 2014 at 8:14 PM, Eelco Hoogendoorn < hoogendoorn.ee...@gmail.com> wrote: > I should clarify: I am speaking about my implementation, I havnt looked at > the numpy implementation for a while so im not sure what it is up to. Note > that by 'almost free', we are still talking about thre

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Eelco Hoogendoorn
I should clarify: I am speaking about my implementation, I havnt looked at the numpy implementation for a while so im not sure what it is up to. Note that by 'almost free', we are still talking about three passes over the whole array plus temp allocations, but I am assuming a use-case where the var

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Jaime Fernández del Río
On Thu, Sep 4, 2014 at 10:39 AM, Eelco Hoogendoorn < hoogendoorn.ee...@gmail.com> wrote: > > On Thu, Sep 4, 2014 at 10:31 AM, Eelco Hoogendoorn < > hoogendoorn.ee...@gmail.com> wrote: > >> >> On Wed, Sep 3, 2014 at 6:46 PM, Jaime Fernández del Río < >> jaime.f...@gmail.com> wrote: >> >>> On Wed,

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Eelco Hoogendoorn
On Thu, Sep 4, 2014 at 10:31 AM, Eelco Hoogendoorn < hoogendoorn.ee...@gmail.com> wrote: > > On Wed, Sep 3, 2014 at 6:46 PM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> On Wed, Sep 3, 2014 at 9:33 AM, Jaime Fernández del Río < >> jaime.f...@gmail.com> wrote: >> >>> On Wed, Sep 3,

Re: [Numpy-discussion] Give Jaime Fernandez commit rights.

2014-09-04 Thread Charles R Harris
On Wed, Sep 3, 2014 at 7:34 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Wed, Sep 3, 2014 at 5:47 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> I think the ayes will have it. >> > > As I told Chuck (because I now get to call Charles Chuck, right? :-)), I > a

Re: [Numpy-discussion] Give Jaime Fernandez commit rights.

2014-09-04 Thread Benjamin Root
Jaime, I had the same feeling when John Hunter gave me commit rights to matplotlib. I later asked him about it, and he said that he gives commit rights to those who annoy the mailing list the most. So, it might not be *that* humbling... :-P Cheers! Ben Root On Wed, Sep 3, 2014 at 9:34 PM, Jaim

[Numpy-discussion] SFMT (faster mersenne twister)

2014-09-04 Thread Neal Becker
http://www.math.sci.hiroshima-u.ac.jp/~%20m-mat/MT/SFMT/index.html -- -- Those who don't understand recursion are doomed to repeat it ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Does a `mergesorted` function make sense?

2014-09-04 Thread Eelco Hoogendoorn
On Wed, Sep 3, 2014 at 6:46 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Wed, Sep 3, 2014 at 9:33 AM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> On Wed, Sep 3, 2014 at 6:41 AM, Eelco Hoogendoorn < >> hoogendoorn.ee...@gmail.com> wrote: >> >>> Not sure about t

Re: [Numpy-discussion] Give Jaime Fernandez commit rights.

2014-09-04 Thread Sebastian Berg
On Mi, 2014-09-03 at 18:47 -0600, Charles R Harris wrote: > > > > On Wed, Sep 3, 2014 at 5:48 PM, Eelco Hoogendoorn > wrote: > +1; though I am relatively new to the scene, Jaime's > contributions have always stood out to me as thoughtful. > > > On Thu,