Skip to content

Commit 575e51c

Browse files
DOC: add SA01 for pandas.get_option (pandas-dev#58794)
1 parent 3f8f704 commit 575e51c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
440440
-i "pandas.errors.UnsortedIndexError SA01" \
441441
-i "pandas.errors.UnsupportedFunctionCall SA01" \
442442
-i "pandas.errors.ValueLabelTypeMismatch SA01" \
443-
-i "pandas.get_option SA01" \
444443
-i "pandas.infer_freq SA01" \
445444
-i "pandas.interval_range RT03" \
446445
-i "pandas.io.formats.style.Styler.apply RT03" \

pandas/_config/config.py

+6
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ def get_option(pat: str) -> Any:
157157
------
158158
OptionError : if no such option exists
159159
160+
See Also
161+
--------
162+
set_option : Set the value of the specified option or options.
163+
reset_option : Reset one or more options to their default value.
164+
describe_option : Print the description for one or more registered options.
165+
160166
Notes
161167
-----
162168
For all available options, please view the :ref:`User Guide <options.available>`

0 commit comments

Comments
 (0)