I have a table that has one field with duplicate values. Is there any code that will label the duplicates 0, 1, 2, 3, 4 ..., rather than 0 and 1 as the following code does which I've found on ESRI's web site.
Python parser, and use then use the following codebook.
uniqueList = 
if inValue in uniqueList: