daft.DataFrame.collect#

DataFrame.collect(num_preview_rows: int | None = 10) daft.dataframe.dataframe.DataFrame[source]#

Executes the entire DataFrame and materializes the results

Note

This call is blocking and will execute the DataFrame when called

Parameters

num_preview_rows – Number of rows to preview. Defaults to 10

Returns

DataFrame with materialized results.

Return type

DataFrame