title: Find any word of a list in the column of dataframe
body: <p>I have a list of words <code>negative</code> that has 4783 elements. I want to use the following code</p>
  
  <pre><code>tweets3 = tweets2[tweets2['full_text'].str.contains('|'.join(negative))]
  </code></pre>
  
  <p>But, it gives ane error like this <code>error: multiple repeat at position 4193</code>.</p>
  
  <p>I do not understand this error. Apparently, if I use a single word in <code>str.contains</code> such as <code>str.contains("deal")</code> I am able to get results.</p>
  
  <p>All I need is a new dataframe that carries only those rows which carry any of the words occuring in the dataframe <code>tweets2</code> column <code>full_text</code>.</p>
  
  <p>As a matter of choice I would also like to see if I can have a <code>boolean</code> column for present and absent values as <code>0 or 1</code>.</p>
  
  <p>I arrived at using the following code with the help of @wp78de:</p>
  
  <p><code>tweets2['negative'] = tweets2.loc[tweets2['full_text'].str.contains(r'(?:{})'.format('|'.join(negative)), regex=True, na=False)].copy()</code></p>