# Getting the predicted stock price of 2017 dataset_train = df.iloc[:800, 1:2] dataset_test = df.iloc[800:, 1:2]