Lasso Regression, Economic Growth, Macroeconomics, Alpha, Tejapi Data Analysis.
df.dropna(axis = 1, how = 'any') Step 4. Stationary Test from statsmodels.tsa.stattools import adfuller for i in df.columns.values: p_value = adfuller(df[i])[1] if p_value > 0.05: df = df.drop(columns = i) df = df.dropna(axis = 1, how = 'any') print('解釋變數量：', len(df.columns)) print('經濟成長率定態檢定Ｐ值：',