I have a function
def multivariate_data(dataset, target, start_index, end_index, history_size, target_size, step, single_step=False):