From 69554e81f6af905eff6ec4433768ff154a2001e5 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Wed, 6 Jul 2022 17:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E5=94=AE=E6=AF=94=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/mt/supply/rent_avg_price.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/mt/supply/rent_avg_price.py b/dags/mt/supply/rent_avg_price.py index b1bcd5e..7259d0e 100644 --- a/dags/mt/supply/rent_avg_price.py +++ b/dags/mt/supply/rent_avg_price.py @@ -89,7 +89,7 @@ def format_rent(x): :param x: :return: """ - x.rent_price = commutils.format_rent_price(x.avg_price, x.rent_price, 1500) + x.rent_price = commutils.format_rent_price(x.avg_price, x.rent_price, 1500, 100) # 过滤租金与均价无的小区 if len(none_rent_and_price_cities) > 0: if x['city'] in none_rent_and_price_cities and (('rent_price' not in x or str(x['rent_price']) == 'nan') and ('avg_price' not in x or str(x['avg_price']) == 'nan')):