Skip to content

Commit

Permalink
DOC: add SA01 for pandas.get_option (#58794)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinsharma121 committed May 20, 2024
1 parent 3f8f704 commit 575e51c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.errors.UnsortedIndexError SA01" \
-i "pandas.errors.UnsupportedFunctionCall SA01" \
-i "pandas.errors.ValueLabelTypeMismatch SA01" \
-i "pandas.get_option SA01" \
-i "pandas.infer_freq SA01" \
-i "pandas.interval_range RT03" \
-i "pandas.io.formats.style.Styler.apply RT03" \
Expand Down
6 changes: 6 additions & 0 deletions pandas/_config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ def get_option(pat: str) -> Any:
------
OptionError : if no such option exists
See Also
--------
set_option : Set the value of the specified option or options.
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 <options.available>`
Expand Down

0 comments on commit 575e51c

Please sign in to comment.