geopandas.GeoSeries.from_wkb#

classmethod GeoSeries.from_wkb(data, index=None, crs=None, **kwargs)[source]#

Alternate constructor to create a GeoSeries from a list or array of WKB objects

Parameters:
dataarray-like or Series

Series, list or array of WKB objects

indexarray-like or Index

The index for the GeoSeries.

crsvalue, optional

Coordinate Reference System of the geometry objects. Can be anything accepted by pyproj.CRS.from_user_input(), such as an authority string (eg “EPSG:4326”) or a WKT string.

kwargs

Additional arguments passed to the Series constructor, e.g. name.

Returns:
GeoSeries