From ca4b7782ef7cf9600ac70ec46eebe310f1d03e93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Wed, 2 Apr 2025 14:04:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=84=E7=BA=A7=E6=80=BB=E5=88=86=E4=B8=B4?= =?UTF-8?q?=E6=97=B6=E6=94=B9=E4=B8=BA100(=E6=94=AF=E4=BB=98=E5=AE=9D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/business/community/consumption.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/business/community/consumption.py b/dags/business/business/community/consumption.py index 193f9f0..416efdb 100644 --- a/dags/business/business/community/consumption.py +++ b/dags/business/business/community/consumption.py @@ -127,7 +127,7 @@ def calc_consumption_rating(community_summary_df): count = 0 # 总评级 - total_rate = 6 + total_rate = 100 if len(df) < total_rate: # 对于样本低于5的直接排名 df[target] = df['consumption_potential'].rank(method='dense', ascending=False).astype(int)