title: How to test if a string contains one of the substrings in a list, in pandas?
body: <p>Is there any function that would be the equivalent of a combination of <code>df.isin()</code> and <code>df[col].str.contains()</code>? </p>
  
  <p>For example, say I have the series
  <code>s = pd.Series(['cat','hat','dog','fog','pet'])</code>, and I want to find all places where <code>s</code> contains any of <code>['og', 'at']</code>, I would want to get everything but 'pet'.</p>
  
  <p>I have a solution, but it's rather inelegant:</p>
  
  <pre><code>searchfor = ['og', 'at']
  found = [s.str.contains(x) for x in searchfor]
  result = pd.DataFrame[found]
  result.any()
  </code></pre>
  
  <p>Is there a better way to do this?</p>