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

> Flip the X and Y coordinates of a geometry column.

Flip the X and Y coordinates of a geometry column.

SQL reference: [`ST_FlipCoordinates`](/reference/wherobots-db/geometry-data/editors/ST_FlipCoordinates)

## Signature

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

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

## Parameters

<ParamField path="geometry" type="ColumnOrName" required>
  Geometry column to flip coordinates for.
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  Geometry column identical to geometry except with flipped coordinates.
</ResponseField>


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