I have a dataframe and I try to get string, where on of column contain some string Df looks like
member_id,event_path,event_time,event_duration 30595,\"2016-
you should use re.escape(yourString) for the string you are passing to contains.
re.escape(yourString)