Skip to content

an element in ‘eval’-expr

Source code

Description

Alias for an element in evaluated in an eval expression.

Usage

pl$element()

Value

Expr

Examples

library("polars")

pl$lit(1:5)$cumulative_eval(pl$element()$first() - pl$element()$last()**2)$to_r()
#> [1]   0  -3  -8 -15 -24