Skip to content

Commit 7eab9af

Browse files
committed
Add note to doc
1 parent 236d89b commit 7eab9af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13328,6 +13328,11 @@ def isin(self, values: Series | DataFrame | Sequence | Mapping) -> DataFrame:
1332813328
Series.str.contains: Test if pattern or regex is contained within a
1332913329
string of a Series or Index.
1333013330
13331+
Notes
13332+
-----
13333+
We use `__iter__` (and not `__contains__`) to iterate over values
13334+
when checking if it contains the elements in DataFrame.
13335+
1333113336
Examples
1333213337
--------
1333313338
>>> df = pd.DataFrame(

0 commit comments

Comments
 (0)