Spec-Zone.ru › Polars

polars.Series.ceil

Series.ceil() → Series

Округляет до ближайшего большего целого значения.

Работает только с Series с числами с плавающей точкой.

Примеры

>>> s = pl.Series("a", [1.12345, 2.56789, 3.901234])
>>> s.ceil()
shape: (3,)
Series: 'a' [f64]
[
    2.0
    3.0
    4.0
]

© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/series/api/polars.Series.ceil.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API