ray.data.from_arrow#

ray.data.from_arrow(tables: Union[pyarrow.Table, bytes, List[Union[pyarrow.Table, bytes]]]) ray.data.dataset.MaterializedDataset[source]#

Create a dataset from a list of Arrow tables.

Parameters

tables – An Arrow table, or a list of Arrow tables, or its streaming format in bytes.

Returns

MaterializedDataset holding Arrow records from the tables.

PublicAPI: This API is stable across Ray releases.