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

> Returns a Series of dtype('bool') with value True for geometries that are valid.

Returns a `Series` of `dtype('bool')` with value `True` for
geometries that are valid.

## Examples

An example with one invalid polygon (a bowtie geometry crossing itself)
and one missing geometry:

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoSeries
>>> from shapely.geometry import Polygon
>>> s = GeoSeries(
...     [
...         Polygon([(0, 0), (1, 1), (0, 1)]),
...         Polygon([(0,0), (1, 1), (1, 0), (0, 1)]),  # bowtie geometry
...         Polygon([(0, 0), (2, 2), (2, 0)]),
...         None
...     ]
... )
>>> s
0         POLYGON ((0 0, 1 1, 0 1, 0 0))
1    POLYGON ((0 0, 1 1, 1 0, 0 1, 0 0))
2         POLYGON ((0 0, 2 2, 2 0, 0 0))
3                                   None
dtype: geometry
```

```python theme={"system"}
>>> s.is_valid
0     True
1    False
2     True
3    False
dtype: bool
```

## See also

GeoSeries.is\_valid\_reason : reason for invalidity

## Signature

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


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