title: Sorting a Pandas dataframe
body: <p>I have the following dataframe:</p>
  
  <pre><code>Join_Count  1
  LSOA11CD    
  E01006512   15
  E01006513   35
  E01006514   11
  E01006515   11
  E01006518   11
  ...
  </code></pre>
  
  <p>But when I try to sort it:</p>
  
  <pre><code>BusStopList.sort("LSOA11CD",ascending=1)
  </code></pre>
  
  <p>I get the following:</p>
  
  <pre><code>Key Error: 'LSOA11CD'
  </code></pre>
  
  <p>How do I go about sorting this by either the LSOA column or the column full of numbers which doesn't have a heading?</p>
  
  <hr>
  
  <p>The following is the information produced by Python about this dataframe:</p>
  
  <pre><code>&lt;class 'pandas.core.frame.DataFrame'&gt;
  Index: 286 entries, E01006512 to E01033768
  Data columns (total 1 columns):
  1    286 non-null int64
  dtypes: int64(1)
  memory usage: 4.5+ KB
  </code></pre>