[Numpy-discussion] numpy install on mac os x 10.4

2006-12-29 Thread belinda thom
Hi, I just used easy_install to get the latest version of numpy. Is this the "preferred" method for installing? I'm on a G5 w/mac OS X 10.4 and MacPython 2.4. I'm wondering why the os-related file names that easy_install creates have macosx-10.3 in them (as opposed to 10.4), e.g. creatin

Re: [Numpy-discussion] test issue

2006-12-29 Thread belinda thom
Thanks again for the input. You've been really helpful. On Dec 29, 2006, at 8:47 PM, Eric Firing wrote: > As far as I know, your pythonmac package > source is a good choice. I'm sure one of the many Mac users on this > list can elaborate. I won't go into the long tirade of problems I've run in

Re: [Numpy-discussion] test issue

2006-12-29 Thread Eric Firing
belinda thom wrote: > Eric, > > Thanks for the well-thought-out answers to some of my recent posts. > > I've been using: > > http://pythonmac.org/packages/py24-fat/index.html > > for installing scipy, numpy, and matplotlib, as I didn't feel as > confident installing things manually. > > Shou

Re: [Numpy-discussion] test issue

2006-12-29 Thread belinda thom
Eric, Thanks for the well-thought-out answers to some of my recent posts. I've been using: http://pythonmac.org/packages/py24-fat/index.html for installing scipy, numpy, and matplotlib, as I didn't feel as confident installing things manually. Should I be using svn instead? (Is that what mos

Re: [Numpy-discussion] test issue

2006-12-29 Thread Eric Firing
belinda thom wrote: > Hello, > > I've been going thru Dave Kuhlman's "SciPy Course Outline" (http:// > www.rexx.com/~dkuhlman/scipy_course_01.html) and found out about test > functions -- very cool. Except that on my end, not all tests pass > (appended below). Is this a problem for other peop

[Numpy-discussion] test issue

2006-12-29 Thread belinda thom
Hello, I've been going thru Dave Kuhlman's "SciPy Course Outline" (http:// www.rexx.com/~dkuhlman/scipy_course_01.html) and found out about test functions -- very cool. Except that on my end, not all tests pass (appended below). Is this a problem for other people? Is it something I should w

Re: [Numpy-discussion] newbie: attempt at data frame

2006-12-29 Thread Eike Welk
On Friday 29 December 2006 00:39, Vincent Nijs wrote: > Eike: > I think I can figure out how to add a plot method. However, if you > have some more suggestions on how to implement the getAtTime, > extract, and set methods you mentioned that would be great. Set method: I thought of a method to chang

Re: [Numpy-discussion] Advice please on efficient subtotal function

2006-12-29 Thread Stephen Simmons
Thanks Francesc, but I am already planning to read the data in block-wise as you suggest. My question is rather how best to update the subtotals for each block in a parallel way using numpy efficiently, rather than a simplistic and slow element-by-element loop. I can't use a simple sum(), as in y

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-29 Thread Christopher Barker
I just discovered the: Scipy Superpack for OS X http://trichech.us/?page_id=4 Maybe this will help folks looking for an OS_X Scipy build. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959 voice 7600 Sand Point Way NE

Re: [Numpy-discussion] Advice please on efficient subtotal function

2006-12-29 Thread Francesc Altet
A Divendres 29 Desembre 2006 10:05, Stephen Simmons escrigué: > Hi, > > I'm looking for efficient ways to subtotal a 1-d array onto a 2-D grid. > This is more easily explained in code that words, thus: > > for n in xrange(len(data)): > totals[ i[n], j[n] ] += data[n] > > data comes from a serie

Re: [Numpy-discussion] Advice please on efficient subtotal function

2006-12-29 Thread Greg Willden
Hi Stephen, If you want to sum/average down a column or across a row you can use sum(). The optional axis={0,1} parameter determines whether you are summing down a column (default or axis=0) or across a row (axis=1). Greg On 12/29/06, Stephen Simmons <[EMAIL PROTECTED]> wrote: Hi, I'm looking

[Numpy-discussion] Advice please on efficient subtotal function

2006-12-29 Thread Stephen Simmons
Hi, I'm looking for efficient ways to subtotal a 1-d array onto a 2-D grid. This is more easily explained in code that words, thus: for n in xrange(len(data)): totals[ i[n], j[n] ] += data[n] data comes from a series of PyTables files with ~200m rows. Each row has ~20 cols, and I use the fir