title: Right way to reverse a pandas DataFrame?
body: <p>Here is my code:</p>
  
  <pre><code>import pandas as pd
  
  data = pd.DataFrame({'Odd':[1,3,5,6,7,9], 'Even':[0,2,4,6,8,10]})
  
  for i in reversed(data):
      print(data['Odd'], data['Even'])
  </code></pre>
  
  <p>When I run this code, i get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Python33\lib\site-packages\pandas\core\generic.py", line 665, in _get_item_cache
      return cache[item]
  KeyError: 5
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\Users\*****\Documents\******\********\****.py", line 5, in &lt;module&gt;
      for i in reversed(data):
    File "C:\Python33\lib\site-packages\pandas\core\frame.py", line 2003, in __getitem__
      return self._get_item_cache(key)
    File "C:\Python33\lib\site-packages\pandas\core\generic.py", line 667, in _get_item_cache
      values = self._data.get(item)
    File "C:\Python33\lib\site-packages\pandas\core\internals.py", line 1656, in get
      _, block = self._find_block(item)
    File "C:\Python33\lib\site-packages\pandas\core\internals.py", line 1936, in _find_block
      self._check_have(item)
    File "C:\Python33\lib\site-packages\pandas\core\internals.py", line 1943, in _check_have
      raise KeyError('no item named %s' % com.pprint_thing(item))
  KeyError: 'no item named 5'
  </code></pre>
  
  <p><strong>Why am I getting this error?<br>
  How can I fix that?<br>
  What is the right way to reverse <code>pandas.DataFrame</code>?</strong></p>