Spec-Zone.ru › Polars

polars.Series.radians

Series.radians() → Series

Преобразовать градусы в радианы.

Примеры

>>> s = pl.Series("a", [-720, -540, -360, -180, 0, 180, 360, 540, 720])
>>> s.radians()
shape: (9,)
Series: 'a' [f64]
[
    -12.566371
    -9.424778
    -6.283185
    -3.141593
    0.0
    3.141593
    6.283185
    9.424778
    12.566371
]

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

Spec-Zone.ru

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