Answers for "python remove duplicates from 2d list"

0

python remove duplicates from 2d list

xx = [['a',1],['b',2],['c',3],['c',3]]
xx = set(tuple(element) for element in xx)
Posted by: Guest on February-23-2022

Code answers related to "python remove duplicates from 2d list"

Python Answers by Framework

Browse Popular Code Answers by Language