title: Drop rows by index from dataframe
body: <p>I have an array <code>wrong_indexes_train</code> which contains a list of indexes that I would like to remove from a dataframe:</p>
  
  <pre><code>[0, 63, 151, 469, 1008]
  </code></pre>
  
  <p>To remove these indexes, I am trying this:</p>
  
  <pre><code>df_train.drop(wrong_indexes_train)
  </code></pre>
  
  <p>However, the code fails with the error:</p>
  
  <pre><code>ValueError: labels ['OverallQual' 'GrLivArea' 'GarageCars' 'TotalBsmtSF' 'FullBath'
   'YearBuilt'] not contained in axis
  </code></pre>
  
  <p>Here, <code>['OverallQual' 'GrLivArea' 'GarageCars' 'TotalBsmtSF' 'FullBath' 'YearBuilt']</code> are the names of my dataframe's columns.</p>
  
  <p>How could I just make the dataframe drop the entire rows of the indices that I specified?</p>