新增因子不足清理
This commit is contained in:
@@ -202,7 +202,7 @@ def clear_rating(temp_df):
|
||||
|
||||
|
||||
def sync(city=None):
|
||||
clear_sql = "select city, region, name from community_summary where (total_price is null or estate_charge is null or avg_cost is null and consumption_potential is not null)"
|
||||
clear_sql = "select city, region, name from community_summary where consumption_potential is not null and (total_price is null or estate_charge is null or avg_cost is null) "
|
||||
if pd.isna(city):
|
||||
# 清空缺少因子的老潜力
|
||||
temp_df = es206_client.scan_by_sql_to_data_frame(clear_sql)
|
||||
|
||||
Reference in New Issue
Block a user