优化成交挂牌价系数
This commit is contained in:
@@ -36,6 +36,8 @@ def sync():
|
||||
}, {'city': 1, 'region': 1, 'district_name': 1, 'avg_price': 1, 'area': 1, 'trade_date': 1, 'match_id': 1})
|
||||
|
||||
df1 = pd.DataFrame(list(dear_price_r))
|
||||
if df1.empty:
|
||||
return
|
||||
# 去重
|
||||
df1.drop_duplicates(subset=['city', 'region', 'district_name', 'avg_price', 'area', 'trade_date', 'match_id'],
|
||||
keep='first', inplace=True)
|
||||
|
||||
Reference in New Issue
Block a user