bigframes.geopandas.GeoSeries.x#

property GeoSeries.x: Series#

Return the x location of point geometries in a GeoSeries

Examples:

>>> import bigframes.pandas as bpd
>>> import geopandas.array
>>> import shapely.geometry
>>> series = bpd.Series(
...     [shapely.geometry.Point(1, 2), shapely.geometry.Point(2, 3), shapely.geometry.Point(3, 4)],
...     dtype=geopandas.array.GeometryDtype()
... )
>>> series.geo.x
0    1.0
1    2.0
2    3.0
dtype: Float64
Returns:

Return the x location (longitude) of point geometries.

Return type:

bigframes.pandas.Series