Skip to content

DOC: fix SA01 for pandas.show_versions #58889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,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.show_versions SA01" \
-i "pandas.testing.assert_extension_array_equal SA01" \
-i "pandas.testing.assert_series_equal PR07,SA01" \
-i "pandas.tseries.offsets.BDay PR02,SA01" \
Expand Down
5 changes: 5 additions & 0 deletions pandas/util/_print_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ def show_versions(as_json: str | bool = False) -> None:
Info will be written to that file in JSON format.
* If True, outputs info in JSON format to the console.

See Also
--------
get_option : Retrieve the value of the specified option.
set_option : Set the value of the specified option or options.

Examples
--------
>>> pd.show_versions() # doctest: +SKIP
Expand Down
Loading