pandas.reset_option#
- pandas.reset_option(pat)[source]#
Reset one or more options to their default value.
- Parameters:
- patstr/regex
If specified only options matching
pat*
will be reset. Pass"all"
as argument to reset all options.Warning
Partial matches are supported for convenience, but unless you use the full option name (e.g. x.y.z.option_name), your code may break in future versions if new options with similar names are introduced.
- Returns:
- None
No return value.
Notes
For all available options, please view the User Guide.
Examples
>>> pd.reset_option("display.max_columns")