geopandas.GeoSeries.from_arrow#
- classmethod GeoSeries.from_arrow(arr, **kwargs)[source]#
Construct a GeoSeries from a Arrow array object with a GeoArrow extension type.
See https://geoarrow.org/ for details on the GeoArrow specification.
This functions accepts any Arrow array object implementing the Arrow PyCapsule Protocol (i.e. having an
__arrow_c_array__
method).Added in version 1.0.
- Parameters:
- arrpyarrow.Array, Arrow array
Any array object implementing the Arrow PyCapsule Protocol (i.e. has an
__arrow_c_array__
or__arrow_c_stream__
method). The type of the array should be one of the geoarrow geometry types.- **kwargs
Other parameters passed to the GeoSeries constructor.
- Returns:
- GeoSeries