I want to create a list (or set) of all unique values appearing in a list of lists in python. I have something like this:
aList=[[\'a\',\'b\'], [\'a\', \'b\'
The 2 top voted answers did not work for me, I'm not sure why (but I have integer lists). In the end I'm doing this:
unique_values = [list(x) for x in set(tuple(x) for x in aList)]