Spec-Zone.ru › Polars

polars.Config.state

classmethod Config.state(
    *,
    if_set: bool = False,
    env_only: bool = False,
) → dict[str, str | None]

Show the current state of all Config variables in the environment as a dict.

Parameters:
if_set

By default this will show the state of all Config environment variables. change this to True to restrict the returned dictionary to include only those that have been set to a specific value.

env_only

Include only Config environment variables in the output; some options (such as “set_fmt_float”) are set directly, not via an environment variable.

Examples

>>> set_state = pl.Config.state(if_set=True)
>>> all_state = pl.Config.state()

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

Spec-Zone.ru

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