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

> Calculate the geodesic distance between two geometry columns using WGS84 spheroid.

Calculate the geodesic distance between two geometry columns using WGS84 spheroid.

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

## Signature

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

ST_DistanceSpheroid(a: ColumnOrName, b: ColumnOrName) -> Column
```

## Parameters

<ParamField path="a" type="ColumnOrName" required>
  Geometry column to use in the calculation.
</ParamField>

<ParamField path="b" type="ColumnOrName" required>
  Other geometry column to use in the calculation.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Two-dimensional geodesic distance between a and b as a double column. Unit is meter.
</ResponseField>


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