I found a work-around.
- Mount the storage with mssparkutils.fs.mount()
- Copy the file to the storage: mssparkutils.fs.cp("synfs:…","file:…")
- The file can now be opened from GeoPandas.
Cheers,
Jason
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
How can I read a spatial file into a Geopandas dataframe from ADLS Gen2?
import geopandas as gpd
df = gpd.read_file('abfss://sswksfs@i__a.dfs.core.windows.net/.../<file>')
gave me a 'No such file or directory' error.
I found a work-around.
Cheers,
Jason