title: Python pandas summary table plot
body: <p>Really can't get to grips with how to plot a summary table of a pandas df. I'm sure this is not a case for a pivot table, or maybe a transposed method of displaying the data. Best I could find was : <a href="https://stackoverflow.com/questions/25773991/plot-table-and-display-pandas-dataframe">Plot table and display Pandas Dataframe</a> 
  My code attempts are just not getting there:</p>
  
  <pre><code>dc = pd.DataFrame({'A' : [1, 2, 3, 4],'B' : [4, 3, 2, 1],'C' : [4, 3, 2, 1]})
  data = dc['A'],dc['B'],dc['C']
  
  ax = plt.subplot(111, frame_on=False) 
  ax.xaxis.set_visible(False) 
  ax.yaxis.set_visible(False)
  cols=["A", "B", "C"]
  row_labels=[0]
  the_table = plt.table(cellText=data,colWidths = [0.5]*len(cols),rowLabels=row_labels, colLabels=cols,cellLoc = 'center', rowLoc = 'center')
  plt.show()
  </code></pre>
  
  <p>All I would like to do, is produce a table plot, with A B C in the first column, and the total and mean in the rows next to them (see below). Any help or guidance would be great...feeling really stupid... (excuse the code example, it doesn't yet have the total and mean yet included...)</p>
  
  <pre><code>   Total   Mean
  A     x      x
  B     x      x
  C     x      x
  </code></pre>