pandas.reset_option

pandas 3.1.1 · Options and settings · function

Restore one or more pandas options to their default values.

Call syntax

pd.reset_option(pat)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
pat Required
Positional or keyword
str/regex

Specify the substring or regular expression to match.

Returns

None