Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
df['production'].loc[index_train] y_test = df['production'].loc[index_test] model = LinearRegression(fit_intercept=False) _ = model.fit(X_train, y_train) y_fore = pd.Series(model.predict(X_test), index=index_test) y_past = pd.Series(model.predict(X_train), index=index_train) trend_columns =