新增格子均价

This commit is contained in:
shenjian@fangjia.com
2023-05-09 14:11:48 +08:00
parent 43038a0478
commit f98a75cc2d
+1 -1
View File
@@ -61,7 +61,7 @@ def sync(city):
avg_price_df = avg_price_df[['city', 'region', 'district_name', 'avg_price']]
avg_price_df = avg_price_df.rename(columns={'district_name': 'name'})
comm_df = es206_client.scan_by_sql_to_data_frame(f"select id, city, region, name, estate_type, location from community_summary where city='{city}' ")
comm_df = es206_client.scan_by_sql_to_data_frame(f"select id, city, region, name, estate_type, location from community_summary where city='{curr_city}' ")
def deal_lng_lat(x):
location = x['location']