polars.DataFrame.min_horizontal
-
Получить минимальное значение по горизонтали среди столбцов.
- Возвращает:
-
- Series
-
Series с именем
"min".
Примеры
>>> 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 ]
DataFrame.min_horizontal() → Series
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/dataframe/api/polars.DataFrame.min_horizontal.html