parent
60a3d7d9b3
commit
cb6935b60c
|
@ -59,6 +59,7 @@ def property_neighbours(id: int):
|
||||||
extractions = extractions.sort("distances").head(10)
|
extractions = extractions.sort("distances").head(10)
|
||||||
extractions = extractions.drop('distances')
|
extractions = extractions.drop('distances')
|
||||||
|
|
||||||
result = {"ids": extractions['id'].to_list(), "lat": extractions['lat'].to_list(), "lon": extractions['lon'].to_list()}
|
#result = {"ids": extractions['id'].to_list(), "lat": extractions['lat'].to_list(), "lon": extractions['lon'].to_list()}
|
||||||
|
result = extractions.to_dicts()
|
||||||
|
|
||||||
return result
|
return result
|
Loading…
Reference in New Issue