[Numpy-discussion] newbie question - summing a list of arrays
Tue Mar 18 10:54:49 CDT 2008
Manuel Metz wrote:
> Hm, in this case you can do it like this:
> numpy.sum(numpy.array([numpy.sum(v) for k,v in data.items()]))
...would also work?
I can't actually use that though as the reason I need to do this is part
of building stacked bar charts in matplotlib.
Simplistix - Content Management, Zope & Python Consulting
More information about the Numpy-discussion