优化成交挂牌价系数

This commit is contained in:
2024-08-16 12:59:57 +08:00
parent 3408b712cf
commit 9b962728e6
+3 -2
View File
@@ -38,9 +38,10 @@ def sync(city):
df1 = pd.DataFrame(list(dear_price_r))
if df1.empty:
return
df1 = df1[df1.type != "车位"]
if 'type' in df1:
df1 = df1[df1.type != "车位"]
df1 = df1[df1.area > 20]
df1 = df1[df1.avg_price > 500000]
df1 = df1[df1.avg_price < 500000]
df1 = df1[~df1.match_id.isna()]
if df1.empty:
return