title: Pandas: Delete Row if cell contains specific text
body: <p>this code in pandas does not work. I want it to delete the row if the column contains any of the text/numbers provided Currently I can only get it to work if the cell matches the exact text being passed in my code .. as in it only deletes cells that say Fin* not Finance or Finly...</p>
  
  <pre><code>df2 = df[df.Team != 'Fin*']
  </code></pre>