Get the minimum value horizontally across columns.
Description
Get the minimum value horizontally across columns.
Usage
<DataFrame>$min_horizontal()
Value
A polars Series
Examples
library("polars")
df <- pl$DataFrame(
foo = c(1, 2, 3),
bar = c(4.0, 5.0, 6.0),
)
df$min_horizontal()
#> shape: (3,)
#> Series: 'min' [f64]
#> [
#> 1.0
#> 2.0
#> 3.0
#> ]