how to compare two fields in python

Fábio Santos fabiosantosart at gmail.com
Tue Apr 30 14:08:53 EDT 2013


... And collections.Counter. This is useful for (you guessed it) counting.

Maybe itertools.groupby will be helpful as well (it could be used to give
you your data grouped by the first column of data), but it could be a tad
advanced for you if you are not too familiar with iterators.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130430/9f0e75cc/attachment.html>


More information about the Python-list mailing list