def transform_fields(self, data, transforms):
        for field_name, transform in transforms.items():
            data = transform.transform(data)

        return data
Convert field names on a flat row of data
dataset/ETHPy150Open openelections/openelections-core/openelex/base/bake.py/Roller.transform_fields