ray.data.from_pandas
ray.data.from_pandas#
- ray.data.from_pandas(dfs: Union[pandas.DataFrame, List[pandas.DataFrame]]) ray.data.dataset.Dataset[ray.data._internal.arrow_block.ArrowRow] [source]#
Create a dataset from a list of Pandas dataframes.
- Parameters
dfs – A Pandas dataframe or a list of Pandas dataframes.
- Returns
Dataset holding Arrow records read from the dataframes.
PublicAPI: This API is stable across Ray releases.