geopandas.GeoDataFrame.to_wkt

GeoDataFrame.to_wkt(**kwargs)

Encode all geometry columns in the GeoDataFrame to WKT.

Parameters
kwargs

Keyword args will be passed to pygeos.to_wkt() if pygeos is installed.

Returns
DataFrame

geometry columns are encoded to WKT