def mapping(data): return Dataset([ DataInstance( x=it[0], y=it[1] ) for it in data ], copy=False)
def mapping(data): return Dataset([ DataInstance( x=it[0], y=it[2], meta= { "reference": it[1] } ) for it in data ], copy=False)