> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_UnaryUnion (Python)

> Calculate the unary union of a geometry

Calculate the unary union of a geometry

SQL reference: [`ST_UnaryUnion`](/reference/wherobots-db/geometry-data/overlay/ST_UnaryUnion)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_UnaryUnion

ST_UnaryUnion(geom: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geom" type="ColumnOrName" required>
  Geometry to do union
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry representing the unary union of geom as a geometry column.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.