Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 306 Bytes

get-unique-elements-from-a-list-of-lists.md

File metadata and controls

9 lines (6 loc) · 306 Bytes

Get unique elements from a list of lists

Using set with tuple:

unique_data = [list(x) for x in set(tuple(x) for x in testdata)]

More info here and here