polars.Expr.arr.min#

Expr.arr.min() Expr[source]#

Compute the min value of the lists in the array.

Examples

>>> df = pl.DataFrame({"values": [[1], [2, 3]]})
>>> df.select(pl.col("values").arr.min())
shape: (2, 1)
┌────────┐
│ values │
│ ---    │
│ i64    │
╞════════╡
│ 1      │
├╌╌╌╌╌╌╌╌┤
│ 2      │
└────────┘