ray.data.from_arrow
ray.data.from_arrow#
- ray.data.from_arrow(tables: Union[pyarrow.Table, bytes, List[Union[pyarrow.Table, bytes]]]) ray.data.dataset.Dataset[ray.data._internal.arrow_block.ArrowRow] [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
Dataset holding Arrow records from the tables.
PublicAPI: This API is stable across Ray releases.