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