def unique(seq):
    seen = set()
    return [seen.add(x) or x for x in seq if x not in seen]
get unique from list found it on stackoverflow
dataset/ETHPy150Open x3omdax/PenBox/Versions/V1.3/penbox.py/unique