Forecasting, Deep Learning, Arima, Goldman Sachs, Data Science.
train_scaled_df = pd.DataFrame(train_scaled, columns=train_df.columns[:-1], index=train_df.index) test_scaled_df = pd.DataFrame(test_scaled, columns=test_df.columns[:-1], index=test_df.index) # Merge the scaled features with the target variable train_scaled_df['Close'] = train_df['Close']