daft.DataFrame.to_pandas

daft.DataFrame.to_pandas#

DataFrame.to_pandas(cast_tensors_to_ray_tensor_dtype: bool = False) pd.DataFrame[source]#

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

Returns:

pandas DataFrame converted from a Daft DataFrame

Note

This call is blocking and will execute the DataFrame when called

Return type:

pd.DataFrame