We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
label_data = pd.read_csv("data/sales_train_evaluation.csv")
def get_label(target_day, predict_distance): test_label = label_data["d_" + str(target_day)] train_label = pd.DataFrame() for day in range(target_day - training_data_days - predict_distance + 1, target_day - predict_distance + 1): train_label = pd.concat([train_label, label_data["d_" + str(day)]], axis=0) return train_label, test_label
train_label, test_label = get_label(target_day, predict_distance) test_label
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
label_data = pd.read_csv("data/sales_train_evaluation.csv")
def get_label(target_day, predict_distance):
test_label = label_data["d_" + str(target_day)]
train_label = pd.DataFrame()
for day in range(target_day - training_data_days - predict_distance + 1, target_day - predict_distance + 1):
train_label = pd.concat([train_label, label_data["d_" + str(day)]], axis=0)
return train_label, test_label
train_label, test_label = get_label(target_day, predict_distance)
test_label
The text was updated successfully, but these errors were encountered: