Install & Compatibility
Where this runs
tested against v0.5.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
build_error
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 13.4s · import 2.858s · 473MB
476MB installed
● package 476MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
GeoDataFrame
✓ from dask_geopandas import GeoDataFrame
✗ from dask_geopandas import GeoDataFrame as dask_gdf
Use exact symbol name; alias if needed but the import path is correct.
from_delayed
✓ from dask_geopandas import from_delayed
✗ from dask_geopandas.io import from_delayed
from_delayed is at the top level, not under a submodule.
read_file
✓ from dask_geopandas import read_file
✗ import dask_geopandas; dask_geopandas.read_file()
Direct import works, but the function is also available at top level.
Load a GeoJSON file into a Dask GeoDataFrame lazily.
import geopandas as gpd
from dask_geopandas import read_file
# Read a GeoJSON file in parallel (lazy)
ddf = read_file('path/to/file.geojson')
print(ddf.head())
Errors
Common errors & fixes
ImportError: cannot import name 'read_file' from 'dask_geopandas'
Older version of dask-geopandas may not have read_file; or the import path was from a different location.
fixUpgrade to the latest version: `pip install --upgrade dask-geopandas`. If still failing, use `from dask_geopandas.io import read_file`.
TypeError: 'GeoDataFrame' object does not support item assignment
Trying to assign values to a Dask GeoDataFrame as if it were a pandas GeoDataFrame.
fixUse `.assign()` or `map_partitions()` to modify columns lazily.
distributed.utils_test - ValueError: Input data has no spatial partitions set. Call `ddf = ddf.spatial_shuffle()` first.
Spatial join or other spatial operation requires spatial partitions to be set.
fixCall `ddf = ddf.spatial_shuffle()` before performing spatial operations like `sjoin()`.
ModuleNotFoundError: No module named 'dask_expr'
Dask's new query planning (>=2024.3.0) requires dask-expr, which may not be installed.
fixInstall dask[dataframe] which includes dask-expr: `pip install dask[dataframe]`.
Upgrade
Version history
0.5.0latest on PyPI · released Jun 2, 2025
Audit
Dependencies
No dependency data recorded yet.