Skip to content

Arrow

These functions require the arrow extra, e.g.:

python -m pip install 'rustac[arrow]'

rustac.to_arrow

to_arrow(items: list[Item] | ItemCollection) -> Table

Converts items to an arro3.core.Table.

Requires rustac to be installed with the arrow extra.

Parameters:

Returns:

rustac.from_arrow

from_arrow(table: Table) -> ItemCollection

Converts an arro3.core.Table to a STAC item collection.

Requires rustac to be installed with the arrow extra.

Parameters:

  • table (Table) –

    The table

Returns: