Modified find_neighbours
This commit is contained in:
parent
80c86db42b
commit
4de38d02cf
@ -13,6 +13,7 @@ def get_population_of_country(df, country):
|
|||||||
:raises: KeyError if column is missing
|
:raises: KeyError if column is missing
|
||||||
"""
|
"""
|
||||||
cities = df[df["country"] == country]
|
cities = df[df["country"] == country]
|
||||||
|
print("cities")
|
||||||
return cities["population"].sum()
|
return cities["population"].sum()
|
||||||
|
|
||||||
def get_cities_beyond_latitude(df, lat, north=True):
|
def get_cities_beyond_latitude(df, lat, north=True):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user