daft.DataFrame.to_ray_dataset#
- DataFrame.to_ray_dataset() ray.data.dataset.DataSet [source]#
Converts the current DataFrame to a Ray Dataset which is useful for running distributed ML model training in Ray
Note
This function can only work if Daft is running using the RayRunner
- Returns:
- Return type:
ray.data.dataset.DataSet