

def __init__(self, source, key, mapper, header=None, presorted=False, buffersize=None, tempdir=None, cache=True):
    if presorted:
        self.source = source
    else:
        self.source = sort(self, key, buffersize=buffersize, tempdir=tempdir, cache=cache)
    self.key = key
    self.header = header
    self.mapper = mapper

dataset/ETHPy150Open alimanfoo/petl/petl/transform/maps.py RowGroupMapView.__init__/VarMisuse@58/67 `source`->`self`