This commit is contained in:
shenjian@fangjia.com
2023-03-09 15:55:33 +08:00
parent ed57487aef
commit b43c7857c2
@@ -51,6 +51,9 @@ def find_around_price(city_now, lng, lat):
def build_doc(item):
doc_dict = dict()
if 'avg_cost' in item:
if item['_id'] == '50bd172ae4b0fbe60a6fe628':
print(item['avg_cost'])
print(pd.notna(item['avg_cost']) or item['avg_cost'] > 0)
if pd.notna(item['avg_cost']) or item['avg_cost'] > 0:
if item['_id'] == '50bd172ae4b0fbe60a6fe628':
print(int(item['avg_cost']))