fix bug
This commit is contained in:
@@ -530,8 +530,13 @@ def findHouse2(ct, rl, lk, timd, timm):
|
||||
}
|
||||
}, "from": 0, "size": 0, "sort": [], "aggs": {}}
|
||||
))
|
||||
|
||||
return pd.DataFrame(query_list)
|
||||
house = list()
|
||||
for hit in query_list:
|
||||
h = hit["_source"]
|
||||
h["total_price"] = int(h["total_price"])
|
||||
h["p_date"] = int(h["p_date"])
|
||||
house.append(h)
|
||||
return pd.DataFrame(house)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user