bigframes.geopandas.GeoSeries.to_wkt#
- GeoSeries.to_wkt() Series[source]#
Convert GeoSeries geometries to WKT
Examples:
>>> import bigframes as bpd >>> import bigframes.geopandas >>> from shapely.geometry import Point
>>> s = bigframes.geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) >>> s 0 POINT (1 1) 1 POINT (2 2) 2 POINT (3 3) dtype: geometry
>>> s.to_wkt() 0 POINT(1 1) 1 POINT(2 2) 2 POINT(3 3) dtype: string
- Returns:
WKT representations of the geometries.
- Return type: