address geopandas future warning
This commit is contained in:
parent
14a34697aa
commit
875fcdd0e2
@ -234,6 +234,7 @@ def nuts3(country_shapes, nuts3, nuts3pop, nuts3gdp, ch_cantons, ch_popgdp):
|
||||
manual = gpd.GeoDataFrame(
|
||||
[["BA1", "BA", 3871.0], ["RS1", "RS", 7210.0], ["AL1", "AL", 2893.0]],
|
||||
columns=["NUTS_ID", "country", "pop"],
|
||||
geometry=gpd.GeoSeries()
|
||||
)
|
||||
manual["geometry"] = manual["country"].map(country_shapes)
|
||||
manual = manual.dropna()
|
||||
|
Loading…
Reference in New Issue
Block a user