That's a good question for you to answer.


On Mon, Jul 8, 2013 at 7:44 AM, nikitsaraf <notifications@github.com> wrote:

> In dedupe/convenience.py:
>
> >
> > -    random_pairs = dedupe.core.randomPairs(len(data), sample_size)
> > -
> > -    return tuple((data[k1], data[k2]) for k1, k2 in random_pairs)
> > +    return tuple((data_list[int(k1)], data_list[int(k2)]) for k1, k2 in random_pairs)
>
> I was just wondering, how did it work in the case when data was dictionary
> ? Does, the index of dictionary allows floats, in spite of being explicitly
> defining the index to be int ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/open-city/dedupe/pull/130/files#r5062864>
> .
>



-- 
773.888.2718
2231 N. Monticello Ave
Chicago, IL 60647