title: Get indexes of unique values in column (pandas)
body: <p>I need to get row numbers with unique values in <code>x</code>. I've come to the following solution:</p>
  
  <pre><code>x = pv.index.get_level_values("Код") #get index level values
  dups = x[x.duplicated()].unique() #get dup. values
  uniques = x[~x.isin(dups)] #get not dup. values
  uniques_indexes = np.where(x.isin(uniques))[0].tolist()
  </code></pre>
  
  <p>I think there's too much calculations. Is there any better solution?</p>