Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove duplicates from 2d list

xx = [['a',1],['b',2],['c',3],['c',3]]
xx = set(tuple(element) for element in xx)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #duplicates #list
ADD COMMENT
Topic
Name
9+6 =