df=pd.DataFrame({"A":["one","two","three"],"B":["fopur","give","six"]})
when I do,
df.B.str.contains("six").any()
out[2]=True
when I do,
df.B.str.contains("six)").any()
I am getting the below error,
C:\ProgramData\Anaconda3\lib\sre_parse.py in parse(str, flags, pattern)
868 if source.next is not None:
869 assert source.next == ")"
--> 870 raise source.error("unbalanced parenthesis")
871
872 if flags & SRE_FLAG_DEBUG:
error: unbalanced parenthesis at position 3
Please help!