How read .shp files in databricks from filestore?

297 Views Asked by At

I'm using Databricks community, and I save a .shp in the FileStore, but when I tried to read I get this error:

DriverError: /dbfs/FileStore/tables/World_Countries.shp: No such file or directory

this is my Code

import geopandas as gpd
gdf = gpd.read_file("/dbfs/FileStore/tables/World_Countries.shp")

I also tried

gdf = gpd.read_file("/FileStore/tables/World_Countries.shp")
0

There are 0 best solutions below