Skip to content

Calculate the lower bound

Description

Returns a unit Series with the lowest value possible for the dtype of this expression.

Usage

<Expr>$lower_bound()

Value

A polars expression

Examples

library("polars")

df <- pl$DataFrame(a = 1:3)
df$select(pl$col("a")$lower_bound())
#> shape: (1, 1)
#> ┌─────────────┐
#> │ a           │
#> │ ---         │
#> │ i32         │
#> ╞═════════════╡
#> │ -2147483648 │
#> └─────────────┘