def reduce_data(data, keep_n):
    return data[-keep_n:]
Return only the final keep_n elements of the data
dataset/ETHPy150Open theusual/kaggle-seeclickfix-ensemble/Miroslaw/data_transforms.py/reduce_data