I need to remove duplicate values from the particular key in dict for example
I'm have
data = [{'NAME':'John','AGE':23,'NUMBER':345},
{'NAME':'Michel','AGE':23,'NUMBER':346},
{'NAME':'RAHUL','AGE':23,'NUMBER':347},
{'NAME':'Susea','AGE':23,'NUMBER':346},
{'NAME':'Wincent','AGE':23,'NUMBER':342}]
In above i need to unique the 'NUMBER' key as unique Note: {'NUMBER':346} occurs 2 times. I need output as
data = [{'NAME':'John','AGE':23,'NUMBER':'345'},
{'NAME':'Michel','AGE':23,'NUMBER':346},
{'NAME':'RAHUL','AGE':23,'NUMBER':347},
{'NAME':'Wincent','AGE':23,'NUMBER':342}]
(i.e) removing any of the duplicate record for particular key duplicate
Pls help me