Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
str.contains exact match
TJ Wolschon
Programming language:
Whatever
2021-07-08 10:07:54
0
Q:
str.contains exact match
joos
Code:
Whatever
2021-08-09 13:03:24
company_name = 'ABC' item = r'^' + company_name + '$' df[‘company’].str.match(item).any()
0
Tags
con
Related
str.contains multiple strings
regex match exact string
check if string contains url
How to check if a string is a subsequence of another string
New to Communities?
Join the community