polars.DataFrame.max_horizontal
-
Получить максимальное значение по горизонтали среди столбцов.
- Возвращает:
-
- Series
-
Series с именем
"max".
Примеры
>>> df = pl.DataFrame( ... { ... "foo": [1, 2, 3], ... "bar": [4.0, 5.0, 6.0], ... } ... ) >>> df.max_horizontal() shape: (3,) Series: 'max' [f64] [ 4.0 5.0 6.0 ]
DataFrame.max_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.max_horizontal.html