polars.DataFrame.min_horizontal#
- DataFrame.min_horizontal() Series [source]#
Get the minimum value horizontally across columns.
- Returns:
- Series
A Series named
"min"
.
Examples
>>> df = pl.DataFrame( ... { ... "foo": [1, 2, 3], ... "bar": [4.0, 5.0, 6.0], ... } ... ) >>> df.min_horizontal() shape: (3,) Series: 'min' [f64] [ 1.0 2.0 3.0 ]