GeoDataFrame.dissolve
How GeoPandas runs Dissolve: geopandas.GeoDataFrame.dissolve.
| Engine | GeoPandas |
|---|---|
| Tool name | geopandas.GeoDataFrame.dissolve |
| Interface | python |
| Implements | Dissolve |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
by | str | None | no | Not stated | Not stated | Not stated |
aggfunc | string | no | first | Not stated | Not stated |
as_index | bool | no | yes | Not stated | Not stated |
level | any | no | Not stated | Not stated | Not stated |
sort | bool | no | yes | Not stated | Not stated |
observed | bool | no | no | Not stated | Not stated |
dropna | bool | no | yes | Not stated | Not stated |
method | Literal['unary', 'coverage', 'disjoint_subset'] | no | unary | Not stated | Not stated |
grid_size | float | None | no | Not stated | Not stated | Not stated |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
by | by | Not stated |
Differences from the operation
- Other columns keep the first row's value per group unless aggfunc says otherwise.
Harvested by the python-libs harvester from engine version
1.2.0. Names can change when an engine is harvested again.