title: updating column values in pandas based on condition
body: <p>I need to update the column value based on these conditions</p>
  
  <pre><code>i. if score &gt; 3, set score to 1.
  ii. if score &lt;= 2, set score to 0.
  iii. if score == 3, drop that row.
  </code></pre>
  
  <p>Score has the values between 1 to 5</p>
  
  <p>I have written the following code, but all the values is being changed to 0.</p>
  
  <pre><code>reviews.loc[reviews['Score'] &gt; 3, 'Score'] = 1
  reviews.loc[reviews['Score'] &lt;= 2, 'Score'] = 0
  reviews.drop(reviews[reviews['Score'] == 3].index, inplace = True)
  </code></pre>
  
  <p>Please point out the mistake am doing in this.</p>