Skip to content

Find the lower bound of a DataType

Source code

Description

Find the lower bound of a DataType

Usage

<Expr>$lower_bound()

Value

Expr

Examples

library("polars")

pl$DataFrame(
  x = 1:3, y = 1:3,
  schema = list(x = pl$UInt32, y = pl$Int32)
)$
  select(pl$all()$lower_bound())
#> shape: (1, 2)
#> ┌─────┬─────────────┐
#> │ x   ┆ y           │
#> │ --- ┆ ---         │
#> │ u32 ┆ i32         │
#> ╞═════╪═════════════╡
#> │ 0   ┆ -2147483648 │
#> └─────┴─────────────┘