to_geos#

GeosDataFrameAccessor.to_geos()#

Transform a geopandas.GeoDataFrame into a regular DataFrame with a geos column.

Returns:

DataFrame where the geometry column is transformed into a geos dtype.

Return type:

pandas.DataFrame

Note

This function always returns a copy of the original data.