title: Create list headings in Panda
body: <p>I had just started with notebooks and Python. When I print my list will I just the list and then number how often they occur. </p>
  
  <p>I would like to if I could get hour as a header above 12 and 8 and count as a header above 7 and 3.</p>
  
  <pre><code>x=df['hour'].value_counts()
  print(x[0:2])
  </code></pre>
  
  <p>12  7</p>
  
  <p>8   3</p>
  
  <p>How I want it:</p>
  
  <p>Hour .   count</p>
  
  <p>12          7</p>
  
  <p>8           3</p>
  
  <p>For the moment am I getting this below my results <em>Name: hour, dtype: 
  int64</em></p>
  
  <p>/Lisa</p>