polars.Series.upper_bound
-
Возвращает верхнюю границу типа данных этого Series в виде Series из одной строки.
См. также
-
lower_bound -
возвращает нижнюю границу типа данных указанного Series.
Примеры
>>> s = pl.Series("s", [-1, 0, 1], dtype=pl.Int8) >>> s.upper_bound() shape: (1,) Series: 's' [i8] [ 127 ]>>> s = pl.Series("s", [1.0, 2.5, 3.0], dtype=pl.Float64) >>> s.upper_bound() shape: (1,) Series: 's' [f64] [ inf ] -
Series.upper_bound() → Self
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.upper_bound.html