open-city/dedupe — pull request #130 by nikitsaraf (2013-06-06 12:20:33+00:00)
Title: Remove the requirement for the records to have the Id of the type integer

As far as I could understand, the requirement for the record Id to be integer, was to generate pairs of random records to be treated as DataSample.

So, rather than imposing the restriction on the input file, we can generate the integer id virtually by the help of python's enumerate() function. This is the perfect use-case for the enumerate function().