> ## 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_Expand (Python)

> Expand the given geometry column by a constant unit in each direction

Expand the given geometry column by a constant unit in each direction

SQL reference: [`ST_Expand`](/reference/wherobots-db/geometry-data/bounding-box/ST_Expand)

## Signature

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

ST_Expand(
    geometry: ColumnOrName,
    deltaX_uniformDelta: Union[ColumnOrName, float],
    deltaY: Optional[Union[ColumnOrName, float]] = None,
    deltaZ: Optional[Union[ColumnOrName, float]] = None,
) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to calculate the envelope of.
</ParamField>

<ParamField path="deltaX_uniformDelta" type="Union[ColumnOrName, float]" required>
  it is either deltaX or uniformDelta depending on the number of arguments provided
</ParamField>

<ParamField path="deltaY" type="Optional[Union[ColumnOrName, float]]" default="None">
  Constant unit of deltaY
</ParamField>

<ParamField path="deltaZ" type="Optional[Union[ColumnOrName, float]]" default="None">
  Constant unit of deltaZ
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Envelope of geometry as a geometry column.
</ResponseField>


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