[SciPy-user] mean of arrays...

Matthieu Brucher matthieu.brucher at gmail.com
Thu Sep 6 10:04:02 EDT 2007


>
> As my arrays are set in a list (data), here's my solution:
>
> data_mean = array(data).transpose().mean(axis=-1).transpose()
>
> Thanks to all.
>

In that case, use axis = 0 instead of the transpositions.

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20070906/e229a323/attachment.html>


More information about the SciPy-User mailing list