title: Resolve levels in pivot table in pandas
body: <p>Assume, I have following pivoted DataFrame:</p>
  
  <pre><code>|   ID |   0 |   1 |   2 |
  |    0                   |
  |-----:|----:|----:|----:|
  | 1115 | nan | "YE"| nan |
  | 1590 | nan | "He"| "NO"|
  
  </code></pre>
  
  <p>How can I remove this <code>0</code> column, so that I get this representation:</p>
  
  <pre><code>|   ID |   0 |   1 |   2 |
  |-----:|----:|----:|----:|
  | 1115 | nan | "YE"| nan |
  | 1590 | nan | "He"| "NO"|
  </code></pre>
  
  <p>Note: It is not a row.</p>
  
  <p>EDIT:</p>
  
  <p>Index:</p>
  
  <pre><code>df.index
  Int64Index([   0,  2],
             dtype='int64', name=0, length=3)
  </code></pre>
  
  <p>Columns:</p>
  
  <pre><code>df.columns
  Int64Index([   0,   1,   2],
             dtype='int64', name='ID', length=3)
  </code></pre>