python distinct values in list code example
Example 1: python list with only unique values
my_list = list(set(my_list))
Example 2: python list distinct
my_list = list(set(my_list))
Example 3: python list of dictionary unique
>>> [dict(y) for y in set(tuple(x.items()) for x in d)]