From 1792df9ab90559d5d1f82078600486b3c2cef47b Mon Sep 17 00:00:00 2001 From: TEJ <43775114+tej87681088@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:08:51 +0800 Subject: [PATCH] update v1.0.17rc0 --- TejToolAPI/TejToolAPI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TejToolAPI/TejToolAPI.py b/TejToolAPI/TejToolAPI.py index 5abf15f..81286a7 100644 --- a/TejToolAPI/TejToolAPI.py +++ b/TejToolAPI/TejToolAPI.py @@ -66,6 +66,7 @@ def get_history_data(ticker:list, columns:list = [], fin_type:list = ['A','Q','T # Drop redundant columns of the merged table. if require_annd: history_data = history_data.drop(columns=[i for i in history_data.columns if i in para.drop_keys]) + else: history_data = history_data.drop(columns=[i for i in history_data.columns if i in para.drop_keys+['fin_date', 'mon_sales_date', 'share_date']])