fix: 追加总院数据默认source列

This commit is contained in:
caoqianming 2024-02-27 16:46:16 +08:00
parent 153c44a619
commit ebd49f5dc0
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ def get_cbma_info_from_db_and_ana(year: str = '2023'):
except Exception as e: except Exception as e:
print(e) print(e)
df['source'] = ''
# 追加总院数据来源 # 追加总院数据来源
for ind, row in df.iterrows(): for ind, row in df.iterrows():
if row['gbiz'] == zybiz: if row['gbiz'] == zybiz: