title: Check and print occurrences of an array of string in a dataset in Python
body: <p>I want to check if an array of strings occur in a dataset and print those rows where the string array elements occur.</p>
  
  <pre><code>rareTitles = {"Capt", "Col", "Countess", "Don", "Dr", "Jonkheer", "Lady", 
                "Major", "Mlle", "Mme", "Ms", "Rev", "Sir"}         
   dataset[rareTitles in (dataset['Title'])]
  </code></pre>
  
  <p>I am getting following error:</p>
  
  <blockquote>
    <p>TypeError: unhashable type: 'set'</p>
  </blockquote>