Parallel GeoPandas with Dask
Dask-GeoPandas is a project merging the geospatial capabilities of GeoPandas and scalability of Dask. GeoPandas is an open source project designed to make working with geospatial data in Python easier. GeoPandas extends the datatypes used by pandas to allow spatial operations on geometric types. Dask provides advanced parallelism and distributed out-of-core computation with a dask.dataframe module designed to scale pandas. Since GeoPandas is an extension to the pandas DataFrame, the same way Dask scales pandas can also be applied to GeoPandas.
This project is a bridge between Dask and GeoPandas and offers geospatial capabilities of GeoPandas backed by Dask.
Documentation
See the documentation on https://dask-geopandas.readthedocs.io/en/latest/
Installation
This package depends on Shapely, GeoPandas and Dask.
One way to install all required dependencies is to use the conda package manager to create a new environment:
conda create -n geo_env conda activate geo_env conda config --env --add channels conda-forge conda config --env --set channel_priority strict conda install dask-geopandas
Example
Given a GeoPandas dataframe
import geopandas
df = geopandas.read_file('...')
We can repartition it into a Dask-GeoPandas dataframe:
import dask_geopandas
ddf = dask_geopandas.from_geopandas(df, npartitions=4)
The familiar spatial attributes and methods of GeoPandas are also available and will be computed in parallel:
ddf.geometry.area.compute()
ddf.within(polygon)
Metadata
Release files for dask-geopandas 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dask_geopandas-0.5.0.tar.gz | 63.7 kB | Without provenance | Details for dask_geopandas-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dask_geopandas-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for dask_geopandas-0.5.0-py3-none-any.whl |
Total release size: 118.8 kB
Release files / dask_geopandas-0.5.0.tar.gz
| Download URL | dask_geopandas-0.5.0.tar.gz |
|---|---|
| Size | 63.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1fc2a041550d609b87db9fcfad2e8217f7336e3436415da11ba9dc8437272b1
|
|
BLAKE2b-256 checksum How to use checksums |
a6daea20602a97db7bc1c4322eaf5c14b209cac9829782f17680a2c590d8f838
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / dask_geopandas-0.5.0-py3-none-any.whl
| Download URL | dask_geopandas-0.5.0-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b6c2a8f7fae94667c4af539e591fa7fb59c5c3206188fa51e461d395ef80240
|
|
BLAKE2b-256 checksum How to use checksums |
df41ea5282553f26f387a95d6c46a9d0921f53a4a09f6bb0df1bc8edaa63d557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for dask-geopandas 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.