Skip to content

DOC: fix SA01 for pandas.errors.CSSWarning #60030

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
Oct 29, 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 @@ -133,7 +133,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
-i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
-i "pandas.core.resample.Resampler.var SA01" \
-i "pandas.errors.AttributeConflictWarning SA01" \
-i "pandas.errors.CSSWarning SA01" \
-i "pandas.errors.ChainedAssignmentError SA01" \
-i "pandas.errors.DataError SA01" \
-i "pandas.errors.DuplicateLabelError SA01" \
Expand Down
8 changes: 8 additions & 0 deletions pandas/errors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,14 @@ class CSSWarning(UserWarning):
This can be due to the styling not having an equivalent value or because the
styling isn't properly formatted.

See Also
--------
DataFrame.style : Returns a Styler object for applying CSS-like styles.
io.formats.style.Styler : Helps style a DataFrame or Series according to the
data with HTML and CSS.
io.formats.style.Styler.to_excel : Export styled DataFrame to Excel.
io.formats.style.Styler.to_html : Export styled DataFrame to HTML.

Examples
--------
>>> df = pd.DataFrame({"A": [1, 1, 1]})
Expand Down
Loading