[SciPy-User] -inf when summing arrays
Mon Sep 19 09:57:30 CDT 2011
Hello and good day,
I am a newbie to the numpy/scipy so I apologize if this is a trivial
I have been attempting to do a simple zonal sum of 2 arrays. I have one
integer array of zones (labels), and another array of floating point values.
For some reason when I attempt
The return value is -inf for each of my zones.
If I run valueArray.sum() an actual number is returned.
I am not sure what the -inf signifies and have not been able to locate
any useful documentation on the subject.
Any insight or advice would be much appreciated.
Geographic Information Specialist
School of International and Public Affairs
P.O. Box 1000
61 Route 9W
Palisades, NY 10964
More information about the SciPy-User