屏蔽过高物业费问题
This commit is contained in:
@@ -155,6 +155,7 @@ def sync(city=None):
|
||||
# 写入csv文件,防止小区变动导致的后续过程更新报错,
|
||||
# seaweed_df.to_csv(path + '/seaweed.csv', sep='@', encoding='UTF-8', index=False)
|
||||
# 写入中间表clickhouse,解决多worker节点问题
|
||||
seaweed_df.loc[seaweed_df['estate_charge'] > 1000, 'estate_charge'] = None
|
||||
tmp_ck.to_sql_plus(seaweed_df[['_id', 'city', 'region', 'name', 'lng', 'lat', 'alias', 'estate_type2', 'build_type',
|
||||
'household_count', 'block', 'estate_charge', 'finish_building_date']], 'community_summary')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user