From f98a75cc2df16fb56e7cada023ae6168ad4c1b14 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Tue, 9 May 2023 14:11:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A0=BC=E5=AD=90=E5=9D=87?= =?UTF-8?q?=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/business/grid_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/business/grid_price.py b/dags/business/business/grid_price.py index b124564..99fc330 100644 --- a/dags/business/business/grid_price.py +++ b/dags/business/business/grid_price.py @@ -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']