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 GeoSeries with the coordinate order reversed.
GeoSeries
reverse()
>>> from sedona.spark.geopandas import GeoSeries >>> from shapely.geometry import LineString, Point >>> s = GeoSeries( ... [ ... LineString([(0, 0), (1, 1), (2, 2)]), ... LineString([(0, 0), (1, 0), (1, 1)]), ... Point(0, 0), ... ] ... ) >>> s.reverse() 0 LINESTRING (2 2, 1 1, 0 0) 1 LINESTRING (1 1, 1 0, 0 0) 2 POINT (0 0) dtype: geometry
Was this page helpful?