to_geopandas#
- GeosSeriesAccessor.to_geopandas(crs=None, copy=False)#
Convert a geos Series into a
geopandas.GeoSeries
.- Parameters:
crs (any, optional) – CRS to use with GeoPandas, check the docs for more information; Default None
copy (bool, optional) – Whether to copy the data or return a wrapper around the same data; Default False
- Returns:
The geopandas series.
- Return type:
- Raises:
ImportError – Geopandas is not installed.
AttributeError – Series is not of geos dtype.