Skip to content

Commit 11f27df

Browse files
committed
fixed Issued No.pandas-dev#43755
1 parent e727a56 commit 11f27df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/frame.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -10563,13 +10563,13 @@ def isin(self, values) -> DataFrame:
1056310563
1056410564
When ``values`` is a Series or DataFrame the index and column must
1056510565
match. Note that 'falcon' does not match based on the number of legs
10566-
in df2.
10566+
in other.
1056710567
10568-
>>> other = pd.DataFrame({'num_legs': [8, 2], 'num_wings': [0, 2]},
10568+
>>> other = pd.DataFrame({'num_legs': [8, 3], 'num_wings': [0, 2]},
1056910569
... index=['spider', 'falcon'])
1057010570
>>> df.isin(other)
1057110571
num_legs num_wings
10572-
falcon True True
10572+
falcon False True
1057310573
dog False False
1057410574
"""
1057510575
if isinstance(values, dict):

0 commit comments

Comments
 (0)