[Numpy-discussion] bincount and generators

Alan G Isaac alan.isaac at gmail.com
Tue Dec 21 14:00:26 EST 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