> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GeoSeries.from_arrow

> Construct a GeoSeries from a Arrow array object with a GeoArrow extension type.

Construct a GeoSeries from a Arrow array object with a GeoArrow
extension type.

See [https://geoarrow.org/](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).

.. \_Arrow PyCapsule Protocol: [https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html](https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html)

Note: Requires geopandas versions >= 1.0.0 to use with Sedona.

## Signature

```python theme={"system"}
GeoSeries.from_arrow(arr, **kwargs) -> GeoSeries
```

## Parameters

<ParamField path="arr" type="pyarrow.Array, Arrow array" required>
  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.
</ParamField>

<ParamField path="kwargs">
  Other parameters passed to the GeoSeries constructor.
</ParamField>

## Returns

<ResponseField name="return" type="GeoSeries" />

**See also**

* `GeoSeries.to_arrow`
* `GeoDataFrame.from_arrow`

## Examples

```python theme={"system"}
>>> from sedona.spark.geopandas import GeoSeries
>>> import geoarrow.pyarrow as ga
>>> array = ga.as_geoarrow([None, "POLYGON ((0 0, 1 1, 0 1, 0 0))", "LINESTRING (0 0, -1 1, 0 -1)"])
>>> geoseries = GeoSeries.from_arrow(array)
>>> geoseries
0                              None
1    POLYGON ((0 0, 1 1, 0 1, 0 0))
2      LINESTRING (0 0, -1 1, 0 -1)
dtype: geometry
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.