Skip to content

Commit

Permalink
Adapt glob to be compatible with the latest fsspec version (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Jan 10, 2024
1 parent 39a5b5d commit b5da511
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spatialpandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def _perform_read_parquet_dask(
datasets = []
for path in paths:
if filesystem.isdir(path):
path = f"{path}/**.parquet"
path = path.rstrip('/')
path = f"{path}/**/*.parquet"
if has_magic(path):
path = _expand_path(path, filesystem)
d = ParquetDataset(
Expand Down

0 comments on commit b5da511

Please sign in to comment.