geopandas.datasets.
get_path
Get the path to the data file.
The name of the dataset. See geopandas.datasets.available for all options.
geopandas.datasets.available
Examples
>>> geopandas.datasets.get_path("naturalearth_lowres") '.../python3.8/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp'