polars.Config.restore_defaults#
- classmethod Config.restore_defaults() type[polars.config.Config] [source]#
Reset all polars Config settings to their default state.
Notes
This method operates by removing all Config options from the environment, and then setting any local (non-env) options back to their default value.
Examples
>>> cfg = pl.Config.restore_defaults()