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

> Return a Series of dtype('bool') with value True if a LineString or LinearRing is counter-clockwise.

Return a `Series` of `dtype('bool')` with value `True` if a
LineString or LinearRing is counter-clockwise.

This property returns `False` for non-linear geometries and for lines
with fewer than four points.

## Examples

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoSeries
>>> from shapely.geometry import LineString, LinearRing, Point
>>> s = GeoSeries(
...     [
...         LinearRing([(0, 0), (1, 0), (1, 1), (0, 1)]),
...         LineString([(0, 0), (1, 1), (1, 0), (0, 0)]),
...         Point(0, 0),
...     ]
... )
>>> s.is_ccw
0     True
1    False
2    False
dtype: bool
```

## Signature

```python theme={"system"}
GeoSeries.is_ccw
```


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