Compare commits
3 Commits
4de38d02cf
...
a09e444afc
| Author | SHA1 | Date | |
|---|---|---|---|
| a09e444afc | |||
| d8f1990724 | |||
| d27a6a794e |
@ -14,7 +14,9 @@ def get_population_of_country(df, country):
|
|||||||
"""
|
"""
|
||||||
cities = df[df["country"] == country]
|
cities = df[df["country"] == country]
|
||||||
print("cities")
|
print("cities")
|
||||||
return cities["population"].sum()
|
pop = cities["population"].sum()
|
||||||
|
|
||||||
|
return pop
|
||||||
|
|
||||||
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