财力评级206改为89

This commit is contained in:
沈健
2024-08-26 10:10:11 +08:00
parent ac8efee40b
commit aa0f3719a5
27 changed files with 29 additions and 30 deletions
@@ -17,7 +17,7 @@ def calc_percentile(city=None):
"""
计算消费等级
"""
sql = "select id, city, region, name, avg_price, total_price from community_summary"
sql = "select id, city, region, name, avg_price, total_price, avg_cost, rent_price, relative_price_ranking, finish_building_date, estate_charge_fix, household_count from community_summary"
if pd.notna(city):
sql += " where city='" + city + "'"
community_summary_df = es206_client.scan_by_sql_to_data_frame(sql)