From 1bbf0c3fb67b53277c9552cd8636d1e96b1c6218 Mon Sep 17 00:00:00 2001 From: wangwenyan Date: Tue, 10 Sep 2024 16:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=88=90=E4=BA=A4=E6=8C=82?= =?UTF-8?q?=E7=89=8C=E4=BB=B7=E7=B3=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/business/evaluate_ratio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/business/evaluate_ratio.py b/dags/business/business/evaluate_ratio.py index 01b5b80..1b20e3f 100644 --- a/dags/business/business/evaluate_ratio.py +++ b/dags/business/business/evaluate_ratio.py @@ -145,7 +145,7 @@ def sync(city): ratio = df['ratio'].get(index) region = df['region'].get(index) district_name = df['district_name'].get(index) - if ratio > 0.25 or ratio < -0.25: + if ratio > 0 or ratio < -0.25: continue else: query = {"city": city, "region": region, "district_name": district_name, "category": "district"}