I have a list of instances of the class 'Chromosome'.
The list is sorted on the Chromosome attribute 'equation'
I now want to remove instances where the attribute 'equation' is the same, leaving only one.
I don't know how to pass the key, ie the ?, so that it groups on 'equation'.
b = [a for a,b in groupby(list, ?)]