Arrow
These functions require the arrow extra, e.g.:
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:
-
items(list[Item] | ItemCollection) –Either a list of items or a item collection
Returns:
-
Table–The table
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:
-
ItemCollection–The STAC item collection