物业费添加分数

This commit is contained in:
shenjian@fangjia.com
2023-03-29 13:25:50 +08:00
parent d43a950e83
commit 9abc7a5676
@@ -84,7 +84,8 @@ def save_fill(community_summary_df):
row = dict()
_id = str(item["_id"])
row['estate_charge'] = item['estate_charge']
row['credit_detail'] = {'estate_charge_score': int(item['estate_charge_score'])}
if pd.notna(item['estate_charge_score']):
row['credit_detail'] = {'estate_charge_score': int(item['estate_charge_score'])}
# 1 表示为物业费补充的,在实际应用中不输出
row['estate_charge_flag'] = 1
row['m_date'] = m_date