drop col
This commit is contained in:
@@ -2,6 +2,10 @@ import numpy as np
|
|||||||
import pandas as pd
|
import pandas as pd
|
||||||
from pyproj import Geod
|
from pyproj import Geod
|
||||||
|
|
||||||
|
def closest_coord_point(point):
|
||||||
|
cities = pd.read_csv("africapolis.csv", index_col=0)
|
||||||
|
oco = pd.read_csv("oco2.csv", index_col=0)
|
||||||
|
|
||||||
def closest_city(point, df=None, population_threshold=0):
|
def closest_city(point, df=None, population_threshold=0):
|
||||||
|
|
||||||
"""Get the name, population, and distance to the point of the closest city"""
|
"""Get the name, population, and distance to the point of the closest city"""
|
||||||
|
|||||||
Reference in New Issue
Block a user