In an array I have the following tuples:
('0000233/02', 50.0, None, None, None, None, 'Yes')
('0000233/02', 200.0, None, None, None, None, 'Yes')
if im iterating through the list, how could I eliminate duplicates based solely on the first element?
Put them in a dict using the first element as the key. If you check before adding then you’ll get the first item with that key, otherwise you’ll get the last.