[Numpy-discussion] Count the occurrence of a certain integer in a list of integers
Alan G Isaac
aisaac at american.edu
Tue Aug 7 09:19:13 EDT 2007
By the way, you can get all the frequencies pretty fast
using a defaultdict:
http://docs.python.org/lib/defaultdict-examples.html
Cheers,
Alan Isaac
More information about the NumPy-Discussion
mailing list