def flatten()

in datasets.py [0:0]


def flatten(outer):
    return [el for inner in outer for el in inner]