From f082ff8739fde935706fbc46e097a146193a0967 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Thu, 6 Apr 2023 16:46:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BE=8E=E5=9B=A2=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/mt/supply/comm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/mt/supply/comm.py b/dags/mt/supply/comm.py index 5bf709c..ecdb0ad 100644 --- a/dags/mt/supply/comm.py +++ b/dags/mt/supply/comm.py @@ -58,7 +58,7 @@ def format_seaweed(x): x.main_type = house_type_area_dic['house_type'] x.main_type_area = house_type_area_dic['house_area'] if pd.notna(x.main_type_area): - x.main_type_area = int(x.main_type_area) + x.main_type_area = int(float(x.main_type_area)) x.household_count = commutils.format_households(x.household_count) x.estate_charge = commutils.format_property_fee(x.estate_charge) x.developer = commutils.format_developer(x.developer)