title: Check if each value in a dataframe column contains words from another dataframe column
body: <p>How do I iterate through each value in one dataframe column and check if it contains words in another dataframe column?</p>
  
  <pre><code>a = pd.DataFrame({'text': ['the cat jumped over the hat', 'the pope pulled on the rope', 'i lost my dog in the fog']})
  b = pd.DataFrame({'dirty_words': ['cat', 'dog', 'parakeet']})
  
  a    
      text
  0   the cat jumped over the hat
  1   the pope pulled on the rope
  2   i lost my dog in the fog
  
  b
      dirty_words
  0   cat
  1   dog
  2   parakeet
  </code></pre>
  
  <p>I want to get a new dataframe that contains only these values:</p>
  
  <pre><code>result
  
  0   the cat jumped over the hat
  1   i lost my dog in the fog
  </code></pre>