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