[SciPy-user] Sparse csr_matrix and column sum
Nathan Bell
wnbell@gmail....
Sun Apr 27 21:48:41 CDT 2008
On Sun, Apr 27, 2008 at 9:32 PM, Dinesh B Vadhia
<dineshbvadhia@hotmail.com> wrote:
>
> Sorry, I wasn't being imprecise as A.sum(0) didn't work and still doesn't -
> I've just tried again. However, A.todense().sum(0) does work - but takes a
> performance hit. My import statements are:
You still haven't informed us what exactly "didn't work". Can you
provide the error message you get when using A.sum(0) where A is a
csr_matrix? Are you using SciPy from SVN or a previous version?
--
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/
More information about the SciPy-user
mailing list