

def demultiplex_records(n, records):
    demux = [[] for _ in xrange(n)]
    for (i, r) in records:
        records[i].append(r)
    return demux

dataset/ETHPy150Open bioinformed/vgraph/vgraph/intervals.py demultiplex_records/VarMisuse@37/43 `demux`->`records`