Python PrettyTable: Add title above the table's header
<p>I have a script which generates multiple tables, which all have the same column names and very similar data. Until now I've been making each table unique by printing a title before it, i.e.:</p>

<pre><code>print("Results for Method Foo")
#table 1
print("Results for Method Bar")
#table 2 
</code></pre>

<p>and so on. But that's not really pretty..</p>

<p>Although it seems like an obvious use case, I couldn't find anywhere the option to do something like this:</p>

<p><a href="https://i.stack.imgur.com/w5ljE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/w5ljE.png" alt="PrettyTable with title"></a></p>

<p>Any ideas about how I could achieve this?</p>

<p><strong>Just in case it matters:</strong> I'm using python 3.4 with, with a virtualenv  and prettytable version 0.7.2 </p>