Skip to content

Commit d51f2eb

Browse files
DOC: fix SA01 for pandas.errors.CSSWarning
1 parent 2a10e04 commit d51f2eb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
133133
-i "pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
134134
-i "pandas.core.resample.Resampler.var SA01" \
135135
-i "pandas.errors.AttributeConflictWarning SA01" \
136-
-i "pandas.errors.CSSWarning SA01" \
137136
-i "pandas.errors.ChainedAssignmentError SA01" \
138137
-i "pandas.errors.DataError SA01" \
139138
-i "pandas.errors.DuplicateLabelError SA01" \

pandas/errors/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,14 @@ class CSSWarning(UserWarning):
591591
This can be due to the styling not having an equivalent value or because the
592592
styling isn't properly formatted.
593593
594+
See Also
595+
--------
596+
DataFrame.style : Returns a Styler object for applying CSS-like styles.
597+
io.formats.style.Styler : Helps style a DataFrame or Series according to the
598+
data with HTML and CSS.
599+
io.formats.style.Styler.to_excel : Export styled DataFrame to Excel.
600+
io.formats.style.Styler.to_html : Export styled DataFrame to HTML.
601+
594602
Examples
595603
--------
596604
>>> df = pd.DataFrame({"A": [1, 1, 1]})

0 commit comments

Comments
 (0)