diff --git a/dags/mt/supply/rent_avg_price.py b/dags/mt/supply/rent_avg_price.py index 528bd77..9ffb2e2 100644 --- a/dags/mt/supply/rent_avg_price.py +++ b/dags/mt/supply/rent_avg_price.py @@ -61,7 +61,7 @@ rent_df = pd.DataFrame() for city in cities: # 求租金 temp_df = pd.DataFrame(list(sqmetre_rent_conn.find( - {'weekend': {'$gt': month_start_date, '$lte': curr_month_start_date}, 'city': city}, + {'weekend': {'$gt': month_start_date, '$lte': curr_month_start_date}, 'city': city, 'cat': 'district'}, {'city': 1, 'region': 1, 'district_name': 1, 'avg_price': 1}).batch_size(10000))) # 根据阈值过滤 if city in min_rent: