daft.context.set_runner_py

Contents

daft.context.set_runner_py#

set_runner_py(use_thread_pool: Optional[bool] = None) DaftContext[source]#

Set the runner for executing Daft dataframes to your local Python interpreter - this is the default behavior.

Alternatively, users can set this behavior via an environment variable: DAFT_RUNNER=py

Returns:

Daft context after setting the Py runner

Return type:

DaftContext