I am using itertools.groupby to parse a short tab-delimited textfile. the text file has several columns and all I want to do is group all the entries that have a pa
itertools.groupby
I don't know what your data looks like but my guess is it's not sorted. groupby works on sorted data