fix bug
This commit is contained in:
@@ -79,7 +79,9 @@ def findHouse_region(ct, rl, timd, timm, fields):
|
||||
query_list_raw = query_list['hits']['hits']
|
||||
query_pack = []
|
||||
for singlequery in query_list_raw:
|
||||
query_pack.append(singlequery['_source'])
|
||||
h = singlequery['_source']
|
||||
h["p_date"] = int(h["p_date"])
|
||||
query_pack.append(h)
|
||||
return pd.DataFrame(query_pack)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user