Modified find_neighbours

This commit is contained in:
Philip 2025-07-17 15:56:18 +02:00
parent 80c86db42b
commit 4de38d02cf

View File

@ -13,6 +13,7 @@ def get_population_of_country(df, country):
:raises: KeyError if column is missing
"""
cities = df[df["country"] == country]
print("cities")
return cities["population"].sum()
def get_cities_beyond_latitude(df, lat, north=True):
@ -107,4 +108,4 @@ if __name__ == "__main__":
# funktion
# -> raise
# -> assert
# -> assert