[SciPy-user] A.mean(0) for sparse matrices

Nathan Bell wnbell@gmail....
Tue Jul 8 05:08:10 CDT 2008

On Mon, Jul 7, 2008 at 8:33 PM, Dinesh B Vadhia
<dineshbvadhia@hotmail.com> wrote:
> Next, I want to get the mean of A with:
> column_mean = A.mean(0)
> I would expect column_mean to be a float vector but instead I get an integer
> vector.  Have I missed something?

Nope, it's a bug.

Nathan Bell wnbell@gmail.com

More information about the SciPy-user mailing list