geopandas.GeoSeries.y#

property GeoSeries.y#

返回点几何在GeoSeries中的y位置

退货
pandas.Series

示例

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