Skip to content

Commit 206af43

Browse files
DOC: fix SA01 for pandas.errors.MergeError
1 parent e3bcd10 commit 206af43

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ci/code_checks.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
195195
-i "pandas.errors.IntCastingNaNError SA01" \
196196
-i "pandas.errors.InvalidIndexError SA01" \
197197
-i "pandas.errors.InvalidVersion SA01" \
198-
-i "pandas.errors.MergeError SA01" \
199198
-i "pandas.errors.NullFrequencyError SA01" \
200199
-i "pandas.errors.NumExprClobberingError SA01" \
201200
-i "pandas.errors.NumbaUtilError SA01" \

pandas/errors/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,15 @@ class MergeError(ValueError):
261261
262262
Subclass of ``ValueError``.
263263
264+
See Also
265+
--------
266+
DataFrame.join : For joining DataFrames on their indexes.
267+
merge : For merging two DataFrames on a common set of keys.
268+
ValueError : Base class for exceptions related to invalid arguments.
269+
NotImplementedError : A built-in exception that can also be used for abstract
270+
methods but lacks the specificity of `AbstractMethodError` in indicating
271+
the need for subclass implementation.
272+
264273
Examples
265274
--------
266275
>>> left = pd.DataFrame(

0 commit comments

Comments
 (0)