polars.Config.save
-
Save the current set of Config options as a JSON string.
- Parameters:
-
- if_set
-
By default this will save the state of all configuration options; set to
Falseto save only those that have been set to a non-default value.
- Returns:
-
- str
-
JSON string containing current Config options.
See also
-
load -
Load (and set) Config options from a JSON string.
-
load_from_file -
Load (and set) Config options from a JSON file.
-
save_to_file -
Save the current set of Config options as a JSON file.
Examples
>>> json_state = pl.Config.save()
classmethod Config.save(
*,
if_set: bool = False,
) → str
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/api/polars.Config.save.html