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.

See also

get_option

Retrieve the value of the specified option.

set_option

Set the value of the specified option or options.

describe_option

Print the description for one or more registered options.

Notes

For all available options, please view the User Guide.

Examples

>>> pd.reset_option("display.max_columns")