Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Return a Series of dtype(βintβ) with the number of coordinate tuples in each geometry.
Series
dtype('int')
count_coordinates()
>>> from sedona.spark.geopandas import GeoSeries >>> from shapely.geometry import Point, LineString, Polygon >>> s = GeoSeries( ... [ ... Point(0, 0), ... LineString([(0, 0), (1, 1), (2, 2)]), ... Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]), ... ] ... ) >>> s.count_coordinates() 0 1 1 3 2 5 dtype: int32
Was this page helpful?