how to remove both duplicate entries in python pandas -


i trying remove both entries if 1 duplicate...for example if array is

(9,1,2,2,3,4)...i need output (9,1,3,4)

most of pandas methods drop_duplicates() keep either top or bottom entry. data has double duplicates , number of elements always!

so example (1,4,6,7,3,3,0,0) output should 1,4,6,7

import collections = (1,4,6,7,3,3,0,0) = [x x,y in collections.counter(a).items() if y == 1] 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -