Archived
add more oco data
This commit is contained in:
1 parent
4a2af6c4d1
commit
f69acc4b2b
2 files changed
+550690
No files matched your search
@@ -10,6 +10,7 @@ def closest_satalite_measurement(point, df=None):
|
|||||||
distances = pos.apply(lambda row: row[2])
|
distances = pos.apply(lambda row: row[2])
|
||||||
min_index = distances.idxmin()
|
min_index = distances.idxmin()
|
||||||
measurement = df.loc[min_index]
|
measurement = df.loc[min_index]
|
||||||
|
print(distances[min_index])
|
||||||
return dict(measurement)
|
return dict(measurement)
|
||||||
|
|
||||||
def closest_city(point, df=None, population_threshold=0):
|
def closest_city(point, df=None, population_threshold=0):
|
||||||
|
|||||||
Reference in new issue
Block a user