Learn R Programming

polars (version 0.7.0)

Expr_list: Wrap column in list

Description

Aggregate values into a list.

Usage

Expr_implode

Arguments

Value

Expr

Details

use to_struct to wrap a DataFrame. Notice implode() is sometimes referred to as list() .

Examples

Run this code
df = pl$DataFrame(
  a = 1:3,
  b = 4:6
)
df$select(pl$all()$implode())

Run the code above in your browser using DataLab