Skip to content

Commit 103c5ee

Browse files
nicolab100TomAugspurger
authored andcommitted
DOC: updated Series.str.contains see also section (#22176)
1 parent e4381b6 commit 103c5ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/strings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ def str_contains(arr, pat, case=True, flags=0, na=np.nan, regex=True):
293293
See Also
294294
--------
295295
match : analogous, but stricter, relying on re.match instead of re.search
296+
Series.str.startswith : Test if the start of each string element matches a pattern.
297+
Series.str.endswith : Same as startswith, but tests the end of string.
296298
297299
Examples
298300
--------

0 commit comments

Comments
 (0)