[Numpy-discussion] new question - summing a list of arrays

Chris Withers chris@simplistix.co...
Tue Mar 18 10:27:56 CDT 2008


Keith Goodman wrote:
>>> sum(x)
> 
> matrix([[ 1.15063313],
>         [ 0.8841396 ],
>         [ 1.7370669 ]])

When these are arrays, I just get a single number sum back...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Numpy-discussion mailing list