Skip to content

Commit 4463fb1

Browse files
authored
fixed Issued No.#43755 (#43820)
1 parent 1770df4 commit 4463fb1

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
@@ -10562,13 +10562,13 @@ def isin(self, values) -> DataFrame:
1056210562
1056310563
When ``values`` is a Series or DataFrame the index and column must
1056410564
match. Note that 'falcon' does not match based on the number of legs
10565-
in df2.
10565+
in other.
1056610566
10567-
>>> other = pd.DataFrame({'num_legs': [8, 2], 'num_wings': [0, 2]},
10567+
>>> other = pd.DataFrame({'num_legs': [8, 3], 'num_wings': [0, 2]},
1056810568
... index=['spider', 'falcon'])
1056910569
>>> df.isin(other)
1057010570
num_legs num_wings
10571-
falcon True True
10571+
falcon False True
1057210572
dog False False
1057310573
"""
1057410574
if isinstance(values, dict):

0 commit comments

Comments
 (0)