title: Pandas | How to effectively filter a column
body: <p>I'm looking for a way to quickly and effectively filter through a dataframe column and remove values that don't meet a condition.</p>
  
  <p>Say, I have a column with the numbers 4, 5 and 10. I want to filter the column and replace any numbers above 7 with 0. How would I go about this?</p>