> ## 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.

# GeoSeries.reverse

> Return a GeoSeries with the coordinate order reversed.

Return a `GeoSeries` with the coordinate order reversed.

## Signature

```python theme={"system"}
reverse()
```

## Returns

<ResponseField name="return" type="GeoSeries" />

## Examples

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoSeries
>>> from shapely.geometry import LineString, Point
>>> s = GeoSeries(
...     [
...         LineString([(0, 0), (1, 1), (2, 2)]),
...         LineString([(0, 0), (1, 0), (1, 1)]),
...         Point(0, 0),
...     ]
... )
>>> s.reverse()
0    LINESTRING (2 2, 1 1, 0 0)
1    LINESTRING (1 1, 1 0, 0 0)
2                    POINT (0 0)
dtype: geometry
```


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