dask-geopandas |conda| |pypi| |docs| |gitter|
=============================================
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
.. code-block:: python
import geopandas
df = geopandas.read_file('...')
We can repartition it into a Dask-GeoPandas dataframe:
.. code-block:: python
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:
.. code-block:: python
ddf.geometry.area.compute()
ddf.within(polygon)
.. |pypi| image:: https://img.shields.io/pypi/v/dask-geopandas.svg
:target: https://pypi.python.org/pypi/dask-geopandas/
.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/dask-geopandas.svg
:target: https://anaconda.org/conda-forge/dask-geopandas
:alt: Conda Version
.. |docs| image:: https://readthedocs.org/projects/dask-geopandas/badge/?version=latest
:target: https://dask-geopandas.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. |gitter| image:: https://badges.gitter.im/geopandas/geopandas.svg
:target: https://gitter.im/geopandas/geopandas
:alt: Gitter
Raw data
{
"_id": null,
"home_page": null,
"name": "dask-geopandas",
"maintainer": "GeoPandas contributors",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "dask, geopandas, spatial, distributed, cluster",
"author": null,
"author_email": "Julia Signell <jsignell@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/96/59/8bb1d3a4ab60445faf09085835d6202b023be4346b8e5980a4cacca09b13/dask_geopandas-0.4.2.tar.gz",
"platform": null,
"description": "dask-geopandas |conda| |pypi| |docs| |gitter|\n=============================================\n\nParallel GeoPandas with Dask\n\nDask-GeoPandas is a project merging the geospatial capabilities of GeoPandas\nand 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.\nDask provides advanced parallelism and distributed out-of-core computation with a dask.dataframe module designed to scale\npandas. Since GeoPandas is an extension to the pandas DataFrame, the same way Dask scales pandas can also be applied to GeoPandas.\n\nThis project is a bridge between Dask and GeoPandas and offers geospatial capabilities of GeoPandas backed by Dask.\n\nDocumentation\n-------------\n\nSee the documentation on https://dask-geopandas.readthedocs.io/en/latest/\n\nInstallation\n------------\n\nThis package depends on Shapely, GeoPandas and Dask.\n\nOne way to install all required dependencies is to use the ``conda`` package manager to\ncreate a new environment:\n\n::\n\n conda create -n geo_env\n conda activate geo_env\n conda config --env --add channels conda-forge\n conda config --env --set channel_priority strict\n conda install dask-geopandas\n\n\n\nExample\n-------\n\nGiven a GeoPandas dataframe\n\n.. code-block:: python\n\n import geopandas\n df = geopandas.read_file('...')\n\nWe can repartition it into a Dask-GeoPandas dataframe:\n\n.. code-block:: python\n\n import dask_geopandas\n ddf = dask_geopandas.from_geopandas(df, npartitions=4)\n\nThe familiar spatial attributes and methods of GeoPandas are also available\nand will be computed in parallel:\n\n.. code-block:: python\n\n ddf.geometry.area.compute()\n ddf.within(polygon)\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/dask-geopandas.svg\n :target: https://pypi.python.org/pypi/dask-geopandas/\n\n.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/dask-geopandas.svg\n :target: https://anaconda.org/conda-forge/dask-geopandas\n :alt: Conda Version\n\n.. |docs| image:: https://readthedocs.org/projects/dask-geopandas/badge/?version=latest\n :target: https://dask-geopandas.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. |gitter| image:: https://badges.gitter.im/geopandas/geopandas.svg\n :target: https://gitter.im/geopandas/geopandas\n :alt: Gitter\n",
"bugtrack_url": null,
"license": "BSD 3-Clause",
"summary": "Parallel GeoPandas with Dask",
"version": "0.4.2",
"project_urls": {
"Documentation": "https://dask-geopandas.readthedocs.io/",
"Home": "https://geopandas.org",
"Issue Tracker": "https://github.com/geopandas/dask-geopandas/issues",
"Repository": "https://github.com/geopandas/dask-geopandas"
},
"split_keywords": [
"dask",
" geopandas",
" spatial",
" distributed",
" cluster"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "de2dc1b3576db429fb97c98c0c03f4026c76b30533c050dd10bee107d8f7cd7e",
"md5": "c99c0d005a6bd27b9194e060d20e30bf",
"sha256": "84985d7453887a1416cb2602d1f6a8f9b10246f1d958306a4241214f9fa44a5f"
},
"downloads": -1,
"filename": "dask_geopandas-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c99c0d005a6bd27b9194e060d20e30bf",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 64385,
"upload_time": "2024-09-24T09:55:43",
"upload_time_iso_8601": "2024-09-24T09:55:43.521136Z",
"url": "https://files.pythonhosted.org/packages/de/2d/c1b3576db429fb97c98c0c03f4026c76b30533c050dd10bee107d8f7cd7e/dask_geopandas-0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "96598bb1d3a4ab60445faf09085835d6202b023be4346b8e5980a4cacca09b13",
"md5": "3da2988f0035fd3ebd1ae1acb97bb92e",
"sha256": "0c9b35f9b81506fe30e88d7b9ca38efda1829aae2336ba284706a5302b117a6a"
},
"downloads": -1,
"filename": "dask_geopandas-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "3da2988f0035fd3ebd1ae1acb97bb92e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 72079,
"upload_time": "2024-09-24T09:55:45",
"upload_time_iso_8601": "2024-09-24T09:55:45.791613Z",
"url": "https://files.pythonhosted.org/packages/96/59/8bb1d3a4ab60445faf09085835d6202b023be4346b8e5980a4cacca09b13/dask_geopandas-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-24 09:55:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "geopandas",
"github_project": "dask-geopandas",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "dask-geopandas"
}