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

> Return the minimum width of a geometry, i.e., the minimum distance between two parallel lines that enclose the geometry.

Return the minimum width of a geometry, i.e., the minimum distance
between two parallel lines that enclose the geometry.

SQL reference: [`ST_MinimumWidth`](/reference/wherobots-db/geometry-data/measurement/ST_MinimumWidth)

## Signature

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

ST_MinimumWidth(geometry: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to compute minimum width for.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Minimum width as a double column.
</ResponseField>


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