Skip to content

Instantly share code, notes, and snippets.

@mustafa-qamaruddin
Created May 4, 2019 17:26
Show Gist options
  • Save mustafa-qamaruddin/bc751586dfc4ee703c3b66ae3e48d9e4 to your computer and use it in GitHub Desktop.
Save mustafa-qamaruddin/bc751586dfc4ee703c3b66ae3e48d9e4 to your computer and use it in GitHub Desktop.
X = df.iloc[:, :TRAIN_STEPS]
y = df.iloc[:, TRAIN_STEPS:]
X_train = X.iloc[:SPLIT_IDX, :]
y_train = y.iloc[:SPLIT_IDX, :]
X_test = X.iloc[SPLIT_IDX:, :]
y_test = y.iloc[SPLIT_IDX:, :]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment