title: How to sort unique values in of a particular coulmn in pandas?
body: <p>I have numerical values in <code>campaign_id</code> column. I want to sort the unique values in a that column but I am not able to do it.</p>
  
  <p>I tried following:</p>
  
  <p><code>testdata['campaign_id'].unique.sort_values()</code></p>
  
  <p>OR</p>
  
  <p><code>testdata['campaign_id'].sort_values.unique()</code></p>
  
  <p>but above code gives error. How to sort the unique values of particular column.</p>