title: Python - Text comparison of two columns
body: <p>I have a Pandas dataframe where I would like to compare two columns 'text' and 'text_find'.</p>
  
  <p>I would like to create a Boolean flag 'compare' which is set to 1 if the words in 'text_find' are located in 'text', else set 'compare' to 0. e.g.</p>
  
  <pre><code>'text' = 'i hate cars'
  'text_dins' = 'cars'
  </code></pre>
  
  <p>this will make 'compare' = 1</p>
  
  <pre><code>'text' = 'i hate cars'
  'text_dins' = 'rabbits'
  </code></pre>
  
  <p>this will make 'compare' = 0</p>
  
  <p>how would I do all this in a pandas dataframe?</p>