title: How to filter a pandas column by list of strings?
body: <p>The standard code for filtering through pandas would be something like:</p>
  
  <pre><code>output = df['Column'].str.contains('string')
  strings = ['string 1', 'string 2', 'string 3']
  </code></pre>
  
  <p>Instead of 'string' though, I want to filter such that it goes through a collection of strings in list, "strings". So I tried something such as</p>
  
  <pre><code>output = df['Column'].str.contains('*strings')
  </code></pre>
  
  <p>This is the closest solution I could find, but did not work
  <a href="https://stackoverflow.com/questions/50853179/how-to-filter-pandas-dataframe-with-a-list-of-strings">How to filter pandas DataFrame with a list of strings</a></p>
  
  <p>Edit: I should note that I'm aware of the | or operator. However, I'm wondering how to tackle all cases in the instance list strings is changing and I'm looping through varying lists of changing lengths as the end goal.</p>