title: What is the smartest way to get the rest of a pandas.DataFrame?
body: <p>Here is a <code>pandas.DataFrame</code> <code>df</code>.</p>
  
  <pre><code>| Foo | Bar |
  |-----|-----|
  |   0 | A   |
  |   1 | B   |
  |   2 | C   |
  |   3 | D   |
  |   4 | E   |
  </code></pre>
  
  <p>I selected some rows and defined a new dataframe, by <code>df1 = df.iloc[[1,3],:]</code>.</p>
  
  <pre><code>| Foo | Bar |
  |-----|-----|
  |   1 | B   |
  |   3 | D   |
  </code></pre>
  
  <p>What is the best way to get the rest of <code>df</code>, like the following.</p>
  
  <pre><code>| Foo | Bar |
  |-----|-----|
  |   0 | A   |
  |   2 | C   |
  |   4 | E   |
  </code></pre>