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

> Returns a series of strings specifying the geometry type of each geometry of each object.

Returns a series of strings specifying the geometry type of each geometry of each object.

Note: Unlike Geopandas, Sedona returns LineString instead of LinearRing.

## Signature

```python theme={"system"}
GeoDataFrame.geom_type
```

## Returns

<ResponseField name="return" type="Series">
  A Series containing the geometry type of each geometry.
</ResponseField>

## Examples

```python theme={"system"}
>>> from shapely.geometry import Polygon, Point
>>> from sedona.spark.geopandas import GeoSeries
```

```python theme={"system"}
>>> gs = GeoSeries([Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]), Point(0, 0)])
>>> gs.geom_type
0    POLYGON
1    POINT
dtype: object
```


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