移除无用的工具包

This commit is contained in:
2025-12-29 15:18:14 +08:00
parent 8fd76993fc
commit 740353e0a7
+1
View File
@@ -110,6 +110,7 @@ def calcByOffice(city, district, office_name):
avg_prices = [doc["avg_price"] for doc in avg_price_ret]
# 计算平均值
average_price = np.mean(avg_prices) if len(avg_prices) > 0 else 0
new_avg_price = None
if average_price > 0:
new_avg_price = int(average_price)
elif "avg_price" in sample.columns: