-
Couldn't load subscription status.
- Fork 62
Description
Hi, I'm loving the geospatial_machine_learning.ipynb tutorial. Just wanted to let you know that geopandas no longer supports the gpd.datasets option and users now have to download data directly from naturalearthdata.com.
`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in <cell line: 14>()
14 with warnings.catch_warnings():
15 warnings.filterwarnings("ignore", category=FutureWarning)
---> 16 world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
17 kenya = world[world['name'] == 'Kenya']
18
/usr/local/lib/python3.10/dist-packages/geopandas/datasets/init.py in get_path(dataset)
16 )
17 if dataset in _prev_available:
---> 18 raise AttributeError(error_msg)
19 else:
20 error_msg = (
AttributeError: The geopandas.dataset has been deprecated and was removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.`