ray.data.expressions.Expr.to_pyarrow#
- Expr.to_pyarrow() pyarrow.compute.Expression [source]#
Convert this Ray Data expression to a PyArrow compute expression.
- Returns:
A PyArrow compute expression equivalent to this Ray Data expression.
- Raises:
ValueError – If the expression contains operations not supported by PyArrow.
TypeError – If the expression type cannot be converted to PyArrow.