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

> Returns geometry rotated by the given angle in Y axis

Returns geometry rotated by the given angle in Y axis

@param geometry: Geometry column or name

SQL reference: [`ST_RotateY`](/reference/wherobots-db/geometry-data/affine-transformations/ST_RotateY)

## Signature

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

ST_RotateY(geometry: ColumnOrName, angle: Union[ColumnOrName, float]) -> Column
```

## Parameters

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

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


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