title: Fastest Way to Drop Duplicated Index in a Pandas DataFrame
body: <p>If I want to drop duplicated index in a dataframe the following doesn't work for obvious reasons:</p>
  
  <pre><code>myDF.drop_duplicates(cols=index)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>myDF.drop_duplicates(cols='index') 
  </code></pre>
  
  <p>looks for a column named 'index'</p>
  
  <p>If I want to drop an index I have to do:</p>
  
  <pre><code>myDF['index'] = myDF.index
  myDF= myDF.drop_duplicates(cols='index')
  myDF.set_index = myDF['index']
  myDF= myDF.drop('index', axis =1)
  </code></pre>
  
  <p>Is there a more efficient way?</p>