Find duplicate field values in ArcGIS using Python

Discussion created by jin007007 on Apr 24, 2012
Latest reply on Apr 26, 2012 by hb317
I have a large feature class with million records. It has a 'CODE' field, this 'CODE' field has many duplicated value.  I need to keep only one value from it, and delete all other duplicated values.  Another words, I need to have unique field value.  No duplicated field values.  How can I do it?  Thanks so much for any help.