[Numpy-discussion] bincount and generators

Alan G Isaac alan.isaac@gmail....
Tue Dec 21 13:00:26 CST 2010


bincount does not currently allow a generator as an argument.
I'm wondering if it is considered too costly to extend it to allow this.
(Motivation: I'm counting based on an attribute of a large number of objects,
and I don't need a list of the data.)

Thanks,
Alan Isaac



More information about the NumPy-Discussion mailing list