ray.data.from_mars#
- ray.data.from_mars(df: mars.dataframe.DataFrame) MaterializedDataset [source]#
Create a
Dataset
from a Mars DataFrame.- Parameters:
df – A Mars DataFrame, which must be executed by Mars-on-Ray.
- Returns:
A
MaterializedDataset
holding rows read from the DataFrame.