Lasso Regression, Economic Growth, Macroeconomics, Alpha, Tejapi Data Analysis.
tejapi.get('GLOBAL/ANMAR', mdate={'gte': '2008-01-01', 'lte':'2021-12-31'}, opts={'columns': ['coid','mdate', 'val', 'pfr']}, coid = list1, # 符合條件的指標 chinese_column_name=True, paginate=True) Data Pre-processing Step 1. Remove Forecasting Data data = data[data['預估(F)'] != 'F'] Step 2. Rearrange