def create_window_labels(x, horizon):
    """
    Creates labels for windowed dataset
    
    Eg. if horizon=1
    Input: [0,1,2,3,4,5,6,7] -> Output: ([0,1,2,3,4,5,6],[7])
    """
    return x[:, :-horizon], x[:,-horizon:]