Ipython - plot pie chart from series with series table next to it
<p>I have a matplotlib pie chart in Ipython notebook with a <code>plt.text</code> series table posted next to it.  The problem is the table is formated as series output and not as a nice table.  What am I doing wrong?</p>

<pre><code>sumByGroup = df['dollar charge'].groupby(df['location']).sum().astype('int')

sumByGroup.plot(kind='pie', title='DOLLARS', autopct='%1.1f%%')
plt.axis('off')
plt.text(2, -0.5, sumByGroup, size=12)
</code></pre>