Machine Learning, Data Science, Programming, Artificial Intelligence, Python.
prediction would be 2. final_data = df[['open', 'date']][0:500] #forming filtered dataframe input_sequences = [] labels = [] #Creating input and output data for time series forecasting for i in range(len(final_data['open'])): if i > 1: labels.append(final_data['open'][i])