[SciPy-user] Incremental histogram?

Roger Herikstad roger.herikstad@gmail....
Tue Mar 11 04:02:49 CDT 2008


Hi list,
 I need to histogram an array of long ints, but the array itself is
too big to keep in memory. I was thinking of using an incremental
approach, i.e. assign each sample in the array to the appropriate bin,
sample by sample. Right now, I have the array (well, list really)
constructed as a generator, and I was wondering if anyone has an
efficient algorithm for doing histogram count on such a generator
object?

~ Roger


More information about the SciPy-user mailing list