Skip to content

Create a Polars LazyFrame from an R object

Description

The as_polars_lf() function creates a LazyFrame from various R objects. It is basically a shortcut for as_polars_df(x, …) with the $lazy()method.

Usage

as_polars_lf(x, ...)

# Default S3 method:
as_polars_lf(x, ...)

# S3 method for class 'polars_lazy_frame'
as_polars_lf(x, ...)

Arguments

x An R object.
Additional arguments passed to the methods.

Details

Default S3 method

Create a DataFrame by calling as_polars_df() and then create a LazyFrame from the DataFrame. Additional arguments are passed to as_polars_df().

Value

A polars LazyFrame