diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 230b4d3daf243..e5786abd503cd 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -470,7 +470,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.merge PR07" \ -i "pandas.merge_asof PR07,RT03" \ -i "pandas.merge_ordered PR07" \ - -i "pandas.option_context SA01" \ -i "pandas.period_range RT03,SA01" \ -i "pandas.pivot PR07" \ -i "pandas.pivot_table PR07" \ diff --git a/pandas/_config/config.py b/pandas/_config/config.py index 5bd6535b0343c..02869d923a14f 100644 --- a/pandas/_config/config.py +++ b/pandas/_config/config.py @@ -414,6 +414,13 @@ def option_context(*args) -> Generator[None, None, None]: None No return value. + See Also + -------- + get_option : Retrieve the value of the specified option. + set_option : Set 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. + Notes ----- For all available options, please view the :ref:`User Guide `