I have a 2D point list like:
points_list = [[2,1],[3,1],[2,1],[2,2],[2,1],[2,2]]
I want to find the duplicated 2D points, and only leave one copy of each duplicated point in the list. Such that to get a result like:
result_list = [[2,1],[3,1],[2,2]]
I know a stupid method to solve the problem, but cannot find a elegant way. Hoping someone could provide some easy ways. Thanks!