From 160b3eb4be5150a2d2bcb6b4e47dc8a44a4c0922 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Mon, 16 Sep 2024 02:43:06 +0530 Subject: [PATCH] DOC: fix SA01 for pandas.errors.MergeError (#59805) * DOC: fix SA01 for pandas.errors.MergeError * DOC: fix SA01 for pandas.errors.MergeError Co-authored-by: mroeschke --------- Co-authored-by: mroeschke --- ci/code_checks.sh | 1 - pandas/errors/__init__.py | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f022e0176a987..b57426dbb2078 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -191,7 +191,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.errors.IntCastingNaNError SA01" \ -i "pandas.errors.InvalidIndexError SA01" \ -i "pandas.errors.InvalidVersion SA01" \ - -i "pandas.errors.MergeError SA01" \ -i "pandas.errors.NullFrequencyError SA01" \ -i "pandas.errors.NumExprClobberingError SA01" \ -i "pandas.errors.NumbaUtilError SA01" \ diff --git a/pandas/errors/__init__.py b/pandas/errors/__init__.py index 2f625090e0492..7851bc90c5782 100644 --- a/pandas/errors/__init__.py +++ b/pandas/errors/__init__.py @@ -261,6 +261,11 @@ class MergeError(ValueError): Subclass of ``ValueError``. + See Also + -------- + DataFrame.join : For joining DataFrames on their indexes. + merge : For merging two DataFrames on a common set of keys. + Examples -------- >>> left = pd.DataFrame(