Skip to contents

Converts to a DataBackendPolars using the polars database, depending on the input type:

There is no automatic connection to the origin file set. If the data is obtained using scanning and the data is streamed, a connector can be set manually but is not required.

Usage

as_polars_backend(data, streaming = FALSE, ...)

Arguments

data

(data.frame() | mlr3::DataBackend)
See description.

streaming

(logical(1))
Whether the data should be only scanned (recommended for large data sets) and streamed with every DataBackendPolars operation or loaded into memory completely.

...

(any)
Additional arguments, passed to DataBackendPolars.