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

> Perform DBSCAN clustering on the given geometry column.

Perform DBSCAN clustering on the given geometry column.

@param geometry: Geometry column or name

SQL reference: [`ST_DBSCAN`](/reference/wherobots-db/geometry-data/clustering/ST_DBSCAN)

## Signature

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

ST_DBSCAN(
    geometry: ColumnOrName,
    epsilon: Union[ColumnOrName, float],
    min_pts: Union[ColumnOrName, int],
    use_spheroid: Optional[Union[ColumnOrName, bool]] = False,
) -> Column
```

## Parameters

<ParamField path="geometry" type="ColumnOrName" required />

<ParamField path="epsilon" type="Union[ColumnOrName, float]" required />

<ParamField path="min_pts" type="Union[ColumnOrName, int]" required />

<ParamField path="use_spheroid" type="Optional[Union[ColumnOrName, bool]]" default="False" />


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