def evenSplits(total_size, num_splits) :
    avg = num_splits/total_size
    split = 0
    for _ in range(num_splits) :
        split += avg - int(split)
        yield int(split)
dataset/ETHPy150Open datamade/dedupe/dedupe/sampling.py/evenSplits/swapped operands of `/`