Re: [Numpy-discussion] Help with bit arrays

2016-04-29 Thread Paul Hobson
Does using pyplot.imgread work? On Fri, Apr 29, 2016 at 8:27 AM, Henrique Almeida wrote: > Any help with this problem ? > > 2016-04-27 11:35 GMT-03:00 Henrique Almeida : > > Hello, what's the current status on numpy for loading bit-arrays ? > > > > I'm currently unable to correctly load black

Re: [Numpy-discussion] (no subject)

2016-04-26 Thread Paul Hobson
Saumyajit, Numpy's source code is hosted on Github. You can find the contributing guides there: https://github.com/numpy/numpy/blob/master/CONTRIBUTING.md -paul On Tue, Apr 26, 2016 at 2:35 AM, Saumyajit Dey < dsaumya...@student.nitw.ac.in> wrote: > Hi, > > This is Saumyajit Dey and I am lookin

Re: [Numpy-discussion] linux wheels coming soon

2016-04-14 Thread Paul Hobson
On Thu, Apr 14, 2016 at 12:07 PM, Nathaniel Smith wrote: > On Apr 14, 2016 11:11 AM, "Benjamin Root" wrote: > > > > Are we going to have to have documentation somewhere making it clear > that the numpy wheel shouldn't be used in a conda environment? Not that I > would expect this issue to come u

Re: [Numpy-discussion] [Suggestion] Labelled Array

2016-02-15 Thread Paul Hobson
Just for posterity -- any future readers to this thread who need to do pandas-like on record arrays should look at matplotlib's mlab submodule. I've been in situations (::cough:: Esri production ::cough::) where I've had one hand tied behind my back and unable to install pandas. mlab was a big hel

Re: [Numpy-discussion] Proposal: stop providing official win32 downloads (for now)

2015-12-22 Thread Paul Hobson
On Tue, Dec 22, 2015 at 1:22 PM, Paul Hobson wrote: > > > On Tue, Dec 22, 2015 at 11:11 AM, Chris Barker > wrote: >> >> >> Any way to know how many people are running 32 bit Python on Windows >> these days?? >> >> -CHB >> >> > FWIW,

Re: [Numpy-discussion] Proposal: stop providing official win32 downloads (for now)

2015-12-22 Thread Paul Hobson
On Tue, Dec 22, 2015 at 11:11 AM, Chris Barker wrote: > > > Any way to know how many people are running 32 bit Python on Windows these > days?? > > -CHB > > FWIW, most ArcGIS user are probably using 32-bit Windows unless they view python as more than "just that thing with the chevron the nerd keep

Re: [Numpy-discussion] When to stop supporting Python 2.6?

2015-12-10 Thread Paul Hobson
On Thu, Dec 10, 2015 at 4:20 AM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 12/09/2015 12:10 AM, Ralf Gommers wrote: > >> >> >> On Wed, Dec 9, 2015 at 12:01 AM, Chris Barker > > wrote: >> >> drop 2.6 >> >> I still don't understand why folks ins

Re: [Numpy-discussion] Automatic number of bins for numpy histograms

2015-04-14 Thread Paul Hobson
On Tue, Apr 14, 2015 at 4:24 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Tue, Apr 14, 2015 at 4:12 PM, Nathaniel Smith wrote: > >> On Mon, Apr 13, 2015 at 8:02 AM, Neil Girdhar >> wrote: >> > Can I suggest that we instead add the P-square algorithm for the dynamic >> > calcul

Re: [Numpy-discussion] [pydata] Pandas v0.16.0 release candidate 1

2015-03-13 Thread Paul Hobson
Thanks for the all the hard work! Really looking forward to using the `assign` method in long chained statements. -Paul On Fri, Mar 13, 2015 at 8:33 AM, Jeff Reback wrote: > Hi, > > I'm pleased to announce the availability of the first release candidate of > Pandas 0.16.0. > Please try this RC

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Paul Hobson
On Tue, Mar 10, 2015 at 11:22 AM, Nathaniel Smith wrote: > On Mar 10, 2015 11:15 AM, "Paul Hobson" wrote: > > > > > > On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> > >> > >> > >

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Paul Hobson
On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris wrote: > > > On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson wrote: > >> I feel your pain. Making it worse, numpy.random.lognormal takes "mean" >> and "sigma" as input. If there's ever a backwards inc

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-09 Thread Paul Hobson
I feel your pain. Making it worse, numpy.random.lognormal takes "mean" and "sigma" as input. If there's ever a backwards incompatible release, I hope these things will be cleared up. On Tue, Mar 3, 2015 at 9:59 PM, Daniel Sank wrote: > Sturia, > > > Change the name of keyword arguments? > > Th

Re: [Numpy-discussion] Subdividing NumPy array into Regular Grid

2014-10-26 Thread Paul Hobson
I think you want np.meshgrid -paul On Sun, Oct 26, 2014 at 2:09 AM, Artur Bercik wrote: > I have a rectangle with the following coordinates: > > import numpy as np > > ulx,uly = (110, 60) ##uppper left lon, upper left lat > urx,ury = (120, 60) ##uppper right lon, upper right lat > lrx, lry = (12

Re: [Numpy-discussion] [SciPy-Dev] Hamming etc. windows are wrong

2014-09-26 Thread Paul Hobson
On Fri, Sep 26, 2014 at 3:39 AM, Jerry wrote: > > On Sep 26, 2014, at 2:56 AM, Daπid wrote: > > > On 26 September 2014 10:41, Jerry wrote: > >> I am just learning Python-NumPy-SciPy but it appears as though the >> SciPy situation is that the documentation page above *** mentions the flag >

Re: [Numpy-discussion] Generalize hstack/vstack --> stack; Block matrices like in matlab

2014-09-19 Thread Paul Hobson
Hey Ben, Side note: I've had to do the same thing for stitching curvilinear model grid coordinates together. Usings pandas DataFrames indexed by `i` and `j` is really good for this. You can offset the indices directly, unstack the DF, and the pandas will align for you. Happy to send an example al

Re: [Numpy-discussion] UNSUBSCRIBE Re: MKL + CPU, GPU + cuBLAS comparison

2013-11-26 Thread Paul Hobson
We can't manage your account for you. Click here: http://mail.scipy.org/mailman/listinfo/numpy-discussion to unsunscribe yourself. -paul On Tue, Nov 26, 2013 at 5:42 AM, regikeyz . wrote: > UNSUBSCRIBE > > > On 26 November 2013 13:37, Frédéric Bastien wrote: > >> We have such benchmark in Thea

Re: [Numpy-discussion] How to compile numpy on ubuntu

2013-08-13 Thread Paul Hobson
On Tue, Aug 13, 2013 at 10:03 AM, Peng Yu wrote: > Hi, > > The instructions for compiling numpy on ubuntu seems to be very > outdated. Could anybody provide an updated instruction on installing > numpy? Thanks. > > http://docs.scipy.org/doc/numpy/user/install.html The latest instructions should

Re: [Numpy-discussion] Please stop bottom posting!!

2013-04-11 Thread Paul Hobson
On Wed, Apr 3, 2013 at 4:28 PM, Doug Coleman wrote: > > Also, gmail "bottom-posts" by default. It's transparent to gmail users. > I'd imagine they are some of the biggest offenders. > Interesting. Mine go to the top by default and I always have to expand the quoted text, trim down as necessary,

Re: [Numpy-discussion] error of install numpy on linux redhat.

2012-10-25 Thread Paul Hobson
On Wed, Oct 24, 2012 at 9:01 PM, Jack Bryan wrote: > Hi, All, > > I am trying to install numpy from http://www.scipy.org/Download . > > by > > git clone git://github.com/numpy/numpy.git numpy > > > But, when I ran > > python setup.py install > > I got: > > SystemError: Cannot compile 'Python.h'.

Re: [Numpy-discussion] Announcing Anaconda version 1.1

2012-10-22 Thread Paul Hobson
Sorry for the noise. Using curl to directly grab the file (instead of copying from another machine) does the trick. -paul On Mon, Oct 22, 2012 at 9:50 AM, Paul Hobson wrote: > On Fri, Oct 19, 2012 at 9:10 AM, Travis Oliphant wrote: >> I just wanted to let everyone know about our new r

Re: [Numpy-discussion] Announcing Anaconda version 1.1

2012-10-22 Thread Paul Hobson
On Fri, Oct 19, 2012 at 9:10 AM, Travis Oliphant wrote: > I just wanted to let everyone know about our new release of Anaconda which > now has Spyder and Matplotlib working for Mac OS X and Windows. > > [snip] > For more information, to download a trial version of Anaconda Pro, or > download the c

Re: [Numpy-discussion] Correlation code from "NumPy 1.5 Beginner's Guide"

2012-05-14 Thread Paul Hobson
On Sun, May 13, 2012 at 9:48 AM, Dinesh Prasad wrote: > Hello. I am new to the list thanks for accepting my question. > > I am trying to run the attached code, directly from the book in the title. > > It simply calculates correlation of returns of the stock listed in the > spreadsheets. could it b

Re: [Numpy-discussion] What is consensus anyway

2012-04-26 Thread Paul Hobson
We're kind of drifting again here, but... Remember when all this discussion happened on usenet? Perhaps we're in yet another awkward transition period and soon all email list-type discussions will be on Github, Bitbucket, StackOverflow (e.g. pandas), etc. There's advantages and disadvantages to a

Re: [Numpy-discussion] Masked Arrays in NumPy 1.x

2012-04-11 Thread Paul Hobson
tic that this tool exists. I'm also pretty flexible and don't anticipated any major snags in my work if things change dramatically as the masked/missing/ignored functionality evolves. Thanks to everyone for the hard work and great tools, -Paul Hobson On Mon, Apr 9, 2012 at 9:52 PM, Tra