In Python, the original dict list is as follows:
orig = [{'team': 'team1', 'other': 'blah', 'abbrev': 't1'},
{'team': 'team2', 'other': 'blah', 'abbrev': 't2'},
{'team': 'team3', 'other': 'blah', 'abbrev': 't3'},
{'team': 'team1', 'other': 'blah', 'abbrev': 't1'},
{'team': 'team3', 'other': 'blah', 'abbrev': 't3'}]
Need to get a new dict list of just team and abbrev but of distinct teams into a list like this:
new = [{'team': 'team1', 'abbrev': 't1'},
{'team': 'team2', 'abbrev': 't2'},
{'team': 'team3', 'abbrev': 't3'}]