daft.DataFrame.to_arrow

daft.DataFrame.to_arrow#

DataFrame.to_arrow() pyarrow.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