Skip to content

Commit cccf1e6

Browse files
DOC: fix SA01 for pandas.errors.DataError (pandas-dev#60279)
1 parent 156e67e commit cccf1e6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
120120
-i "pandas.core.resample.Resampler.var SA01" \
121121
-i "pandas.errors.AttributeConflictWarning SA01" \
122122
-i "pandas.errors.ChainedAssignmentError SA01" \
123-
-i "pandas.errors.DataError SA01" \
124123
-i "pandas.errors.DuplicateLabelError SA01" \
125124
-i "pandas.errors.IntCastingNaNError SA01" \
126125
-i "pandas.errors.InvalidIndexError SA01" \

pandas/errors/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,11 @@ class DataError(Exception):
429429
For example, calling ``ohlc`` on a non-numerical column or a function
430430
on a rolling window.
431431
432+
See Also
433+
--------
434+
Series.rolling : Provide rolling window calculations on Series object.
435+
DataFrame.rolling : Provide rolling window calculations on DataFrame object.
436+
432437
Examples
433438
--------
434439
>>> ser = pd.Series(["a", "b", "c"])

0 commit comments

Comments
 (0)