daft.DataFrame.to_arrow

daft.DataFrame.to_arrow#

DataFrame.to_arrow(cast_tensors_to_ray_tensor_dtype: bool = False) pa.Table[source]#

Converts the current DataFrame to a pyarrow Table. If results have not computed yet, collect will be called.

Returns:

pyarrow Table converted from a Daft DataFrame

Note

This call is blocking and will execute the DataFrame when called

Return type:

pyarrow.Table