Re: [Numpy-discussion] Another merge at github

2010-10-18 Thread Pauli Virtanen
Sat, 16 Oct 2010 23:23:46 -0600, Charles R Harris wrote: [clip] And I just managed the same result on a push to maintenance/1.5.x :-/ But I know how it happened, I cherry picked from master for a backport before updating the 1.5.x branch from github. In Retrospect I probably should have reset

Re: [Numpy-discussion] how to find out element size of flexible dtype

2010-10-18 Thread Francesc Alted
A Monday 18 October 2010 03:42:39 Koert Kuipers escrigué: Hello all, If my function receives an array with a flexible dtype such as string or unicode, how do I find out what the size (max number of elements, not number of bytes) of the datatype is? For example: x = np.array(['a', 'b',

[Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Alex Ter-Sarkissov
hi everyone, i'm very new to ubuntu, now trying to install numpy and wxpython. Having unpacked numpy and running the standard commnad in idle from numpy import * i get the message ImportError: Error importing numpy: you should not try to import numpy from its source directory; please

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Peter
On Mon, Oct 18, 2010 at 11:55 AM, Alex Ter-Sarkissov sigma.z.1...@gmail.com wrote: hi everyone, i'm very new to ubuntu, now trying to install numpy and wxpython. Did you consider installing the Ubuntu provided packages, e.g. via apt-get or the Synaptic Package manager? That is *much* easier -

Re: [Numpy-discussion] Need help for the migration from Numeric to numpy

2010-10-18 Thread Frank Thommen
Bruce Southey wrote: [...] It took me a while to track it down, but there used to be a module/file called 'convertcode.py' for conversion. It was mentioned as tip in Travis's 'Guide to Numpy' page 31 in Jan 6 2005 version. But the alter_code path is in Dec 7 2006 (linked at

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Ian Goodfellow
To do a standard installation, run sudo python setup.py install from inside the numpy directory Then your import should work elsewhere. By the way, import * can cause difficulties when you're working with several different files. For example, if you have a function called 'save' somewhere that

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread Pauli Virtanen
Mon, 18 Oct 2010 09:07:42 -0400, Ian Goodfellow wrote: To do a standard installation, run sudo python setup.py install from inside the numpy directory Preferably, sudo python setup.py install --prefix=/usr/local and then you don't mess up your package manager. Pauli

Re: [Numpy-discussion] ANN: NumPy 1.5.1 release candidate 1

2010-10-18 Thread Vincent Davis
On Sun, Oct 17, 2010 at 5:35 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, I am pleased to announce the availability of the first release candidate of NumPy 1.5.1. This is a bug-fix release with no new features compared to 1.5.0. Binaries, sources and release notes can be found at

Re: [Numpy-discussion] ANN: NumPy 1.5.1 release candidate 1

2010-10-18 Thread Ralf Gommers
On Mon, Oct 18, 2010 at 9:55 PM, Vincent Davis vinc...@vincentdavis.net wrote: On Sun, Oct 17, 2010 at 5:35 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi, I am pleased to announce the availability of the first release candidate of NumPy 1.5.1. This is a bug-fix release with no new

Re: [Numpy-discussion] DataArray fixes

2010-10-18 Thread Lluís
Fernando Perez writes: On Wed, Oct 13, 2010 at 6:02 AM, Lluís xscr...@gmx.net wrote: I thought that datarray module would be inside numpy, so the construction interface would be:      numpy.datarray.array(...)        User-friendly constructor with inlined contents.      

Re: [Numpy-discussion] datarray lightning talk at NYC Python group

2010-10-18 Thread Fernando Perez
On Mon, Oct 18, 2010 at 11:21 AM, M Trumpis mtrum...@berkeley.edu wrote: Just a heads up that I'm going to do a quick pitch for datarray this Wed. at the NYC Python Meetup thing. If any collaborator is attending, please introduce yourself! Well, Travis will be there speaking, if my Enthought

Re: [Numpy-discussion] datarray lightning talk at NYC Python group

2010-10-18 Thread John Salvatier
Maybe put it up on youtube? Or write down your pitch? As someone who dislikes R but thinks data.frames are good for something, I'd be interested in hearing the pitch, what the developers think the strengths and weaknesses of DatArray are. On Mon, Oct 18, 2010 at 2:18 PM, Fernando Perez

Re: [Numpy-discussion] Another merge at github

2010-10-18 Thread Pauli Virtanen
Mon, 18 Oct 2010 12:20:00 +0300, Pearu Peterson wrote: [clip] I see that there are long discussions in numpy ml about the git usage and mis usage. I wonder whether this has converged to something that could be used as reference for git beginners like me. I think there's agreement on what we

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread David
On 10/18/2010 10:45 PM, Pauli Virtanen wrote: Mon, 18 Oct 2010 09:07:42 -0400, Ian Goodfellow wrote: To do a standard installation, run sudo python setup.py install from inside the numpy directory Preferably, sudo python setup.py install --prefix=/usr/local and then you don't mess

[Numpy-discussion] patch for structured array comparison bug

2010-10-18 Thread Mark Wiebe
I found a bug in structured array comparison when fields have multi-dimensional types. I created a ticket here: http://projects.scipy.org/numpy/ticket/1640 and a patch here: http://github.com/m-paradox/numpy/compare/master...fix_structured_compare Could someone review it for me? Thanks, Mark