title: Remove duplicates from dataframe, based on two columns A,B, keeping row with max value in another column C
body: <p>I have a pandas dataframe which contains duplicates values according to two columns (A and B):</p>
  
  <pre><code>A B C
  1 2 1
  1 2 4
  2 7 1
  3 4 0
  3 4 8
  </code></pre>
  
  <p>I want to remove duplicates keeping the row with max value in column C. This would lead to: </p>
  
  <pre><code>A B C
  1 2 4
  2 7 1
  3 4 8
  </code></pre>
  
  <p>I cannot figure out how to do that. Should I use <code>drop_duplicates()</code>, something else?</p>