dask_geopandas.GeoSeries.x

Contents

dask_geopandas.GeoSeries.x#

property GeoSeries.x#

Return the x location of point geometries in a GeoSeries

This docstring was copied from geopandas.geoseries.GeoSeries.x.

Some inconsistencies with the Dask version may exist.

Returns:
pandas.Series

Examples

>>> from shapely.geometry import Point
>>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)])
>>> s.x
0    1.0
1    2.0
2    3.0
dtype: float64