get distinct values from list python 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)]