Lasso Regression, Economic Growth, Macroeconomics, Alpha, Tejapi Data Analysis.
pd.DataFrame(pred_data, index = growth_valid.index) final = pd.concat([growth_valid, result], axis = 1) final = final.rename(columns={'NE0904':'實際經濟成長率'}) Step 2. Visualization # Make Python apply Chinese plt.rcParams['font.sans-serif'] = ['Arial Unicode MS'] plt.figure(figsize=(15,8))