polars.Config.state
-
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
Configenvironment variables. change this toTrueto 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()
classmethod Config.state(
*,
if_set: bool = False,
env_only: bool = False,
) → dict[str, str | None]
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.Config.state.html