How do I output lists as a table in Jupyter notebook? : <p>I know that I've seen some example somewhere before but for the life of me I cannot find it when googling around.</p>

<p>I have some rows of data:</p>

<pre><code>data = [[1,2,3],
        [4,5,6],
        [7,8,9],
        ]
</code></pre>

<p>And I want to output this data in a table, e.g.</p>

<pre><code>+---+---+---+
| 1 | 2 | 3 |
+---+---+---+
| 4 | 5 | 6 |
+---+---+---+
| 7 | 8 | 9 |
+---+---+---+
</code></pre>

<p>Obviously I could use a library like prettytable or download pandas or something but I'm very disinterested in doing that.</p>

<p>I just want to output my rows as tables in my Jupyter notebook cell. How do I do this?</p>
