[Numpy-discussion] condense array along one dimension

Olivier Delalleau shish@keba...
Fri Jan 20 08:50:30 CST 2012

What do you mean by "summarize"?
If for instance you want to sum along Y, just do

-=- Olivier

2012/1/20 Ruby Stevenson <ruby185@gmail.com>

> hi, all
> Say I have a three dimension array, X, Y, Z,  how can I condense into
> two dimensions: for example, compute 2-D array with (X, Z) and
> summarize along Y dimensions ... is it possible?
> thanks
> Ruby
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120120/c12b180c/attachment.html 

More information about the NumPy-Discussion mailing list