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

# GeoDataFrame.representative_point

> Return a point that is guaranteed to be within each geometry.

Return a point that is guaranteed to be within each geometry.

Returns a `GeoSeries` of (cheaply computed) points that are guaranteed
to be within each geometry.

## Signature

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

## Returns

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

## Examples

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


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