From 11f27dff0f14104199f06d0e5966da218db48402 Mon Sep 17 00:00:00 2001 From: Varun Shrivastava Date: Thu, 30 Sep 2021 20:01:21 +0530 Subject: [PATCH] fixed Issued No.#43755 --- pandas/core/frame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index bfdfeabbd389c..4955513246626 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -10563,13 +10563,13 @@ def isin(self, values) -> DataFrame: When ``values`` is a Series or DataFrame the index and column must match. Note that 'falcon' does not match based on the number of legs - in df2. + in other. - >>> other = pd.DataFrame({'num_legs': [8, 2], 'num_wings': [0, 2]}, + >>> other = pd.DataFrame({'num_legs': [8, 3], 'num_wings': [0, 2]}, ... index=['spider', 'falcon']) >>> df.isin(other) num_legs num_wings - falcon True True + falcon False True dog False False """ if isinstance(values, dict):