Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions docs/source/python/extending_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,73 @@ A :class:`DataType` can be created by consuming the schema-compatible object
using :func:`pyarrow.field` and then accessing the ``.type`` of the resulting
Field.

The PyCapsule Interface has been adopted by a number of libraries in the Python
ecosystem. The following table provides an overview of the current implementation
status (see `the tracking issue <https://github.com/apache/arrow/issues/39195>`__
for the latest updates):

.. list-table:: PyCapsule Interface Implementation Status
:header-rows: 1

* - Library
- Status
* - `altair <https://github.com/vega/altair/issues/3568>`__
- Not yet implemented
* - `arro3 <https://github.com/kylebarron/arro3>`__
- Implemented
* - `cuDF <https://github.com/rapidsai/cudf/pull/18402>`__
- Implemented
* - `daft <https://github.com/Eventual-Inc/Daft/issues/2504>`__
- Not yet implemented
* - `DataFusion <https://github.com/apache/datafusion-python/pull/825>`__
- Implemented
* - `DuckDB <https://github.com/duckdb/duckdb/pull/13386>`__
- Implemented
* - `fastexcel <https://github.com/ToucanToco/fastexcel/pull/361>`__
- Implemented
* - `GDAL/OGR <https://github.com/OSGeo/gdal/pull/9133>`__
- Implemented
* - `GeoPandas <https://github.com/geopandas/geopandas/pull/3219>`__
- Implemented
* - `h3ronpy <https://github.com/nmandery/h3ronpy/pull/64>`__
- Implemented
* - `ibis <https://github.com/ibis-project/ibis/pull/9143>`__
- Implemented
* - `iceberg-python <https://github.com/apache/iceberg-python/issues/1655>`__
- Not yet implemented
* - `lance <https://github.com/lancedb/lance/issues/2630>`__
- Not yet implemented
* - `LightGBM <https://github.com/microsoft/LightGBM/issues/6204#issuecomment-2256015538>`__
- Not yet implemented
* - `lonboard <https://github.com/developmentseed/lonboard>`__
- Implemented
* - `nanoarrow <https://arrow.apache.org/nanoarrow/>`__
- Implemented
* - `narwhals <https://github.com/narwhals-dev/narwhals/pull/786>`__
- Implemented
* - `pandas <https://github.com/pandas-dev/pandas/pull/56587>`__
- Implemented
* - `pantab <https://github.com/innobi/pantab>`__
- Implemented
* - `Pillow <https://github.com/python-pillow/Pillow/pull/8330>`__
- Implemented
* - `Polars <https://github.com/pola-rs/polars/pull/17676>`__
- Implemented
* - `PyArrow <https://github.com/apache/arrow/pull/37797>`__
- Implemented
* - `pyogrio <https://pyogrio.readthedocs.io/>`__
- Implemented
* - `PySpark <https://github.com/apache/spark/pull/53391>`__
- Implemented
* - `quak <https://github.com/manzt/quak/pull/23>`__
- Implemented
* - `seaborn <https://github.com/mwaskom/seaborn/issues/3756>`__
- Not yet implemented
* - `VegaFusion <https://github.com/vega/vegafusion/pull/517>`__
- Implemented
* - `vortex <https://github.com/vortex-data/vortex/pull/4161>`__
- Not yet implemented

.. _arrow_array_protocol:

Controlling conversion to ``pyarrow.Array`` with the ``__arrow_array__`` protocol
Expand Down