diff --git a/ci/code_checks.sh b/ci/code_checks.sh index b9b3ca24b4162..6987f536f45ba 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -488,7 +488,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.read_spss SA01" \ -i "pandas.reset_option SA01" \ -i "pandas.set_eng_float_format RT03,SA01" \ - -i "pandas.set_option SA01" \ -i "pandas.show_versions SA01" \ -i "pandas.test SA01" \ -i "pandas.testing.assert_extension_array_equal SA01" \ diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 1b91a7c3ee636..5bd6535b0343c 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -211,6 +211,14 @@ def set_option(*args) -> None: TypeError if keyword arguments are provided OptionError if no such option exists + See Also + -------- + get_option : Retrieve the value of the specified option. + reset_option : Reset one or more options to their default value. + describe_option : Print the description for one or more registered options. + option_context : Context manager to temporarily set options in a ``with`` + statement. + Notes ----- For all available options, please view the :ref:`User Guide `