title: Remove rows from pandas DataFrame based on condition
body: <p>I am a newbie to pandas so please forgive the newbie question!</p>
  
  <p>I have the following code;</p>
  
  <pre><code>import pandas as pd
  
  pet_names = ["Name","Species"
  "Jack","Cat"
  "Jill","Dog"
  "Tom","Cat"
  "Harry","Dog"
  "Hannah","Dog"]
  
  df = pd.DataFrame(pet_names)
  
  df = df[df['Species']!='Cat']
  
  print(df)
  </code></pre>
  
  <p>I would like to remove all the rows that contain "Cat" in the "Species" column, leaving all the dogs behind. How do I do this? Unfortunately, this code is currently returning errors.</p>