Re: [Numpy-discussion] How to efficiently reduce a 1-dim 10 0-10000 element array with user defined binary functio n

2008-11-15 Thread Slaunger
Charles R Harris gmail.com> writes: > > > On Fri, Nov 14, 2008 at 6:22 PM, Kim Hansen gmail.com> wrote: > Dear numpy-discussion, > I am quite new to Python and numpy. > I am working on a Python application using Scipy, where I need to > unpack and pack quite large amounts of data (GBs) into da

Re: [Numpy-discussion] slices vs. range() over a certain axis

2008-11-15 Thread Robert Kern
On Fri, Nov 14, 2008 at 22:40, David Warde-Farley <[EMAIL PROTECTED]> wrote: > I'm trying to clarify my understanding of how slicing works and how it > differs from specifying a sequence of indices. My question is best > illustrated by an example: > >In [278]: x = zeros((5,50)) > >I