I basically have a list of list like this:
[['1348559717', '11'],
['1348559717', '15'],
['1348562275', '16'],
['1348562275', '20'],
['1348562284', '17'],
['1348562284', '18'],
['1348562290', '19'],
['1349346149', '15'],
['1349348467', '14'],
['1350001260', '17']]
I would like to remove the lists which contains duplicated values in index [0]. Also, i always need to have the list which its index [1] = '20', in this case ['1348562275', '20']. So my wanted list would be:
[['1348559717', '11'],
['1348562275', '20'],
['1348562284', '17'],
['1348562290', '19'],
['1349346149', '15'],
['1349348467', '14'],
['1350001260', '17']]
Does anyone have any idea how could i do it?