[IPython-dev] Visual representation of SQL extracted data

Alistair Miles alimanfoo at googlemail.com
Tue May 27 12:41:03 EDT 2014


Hi Simon,

I'm sure you've found this out already, but both pandas [1] and petl [2]
implement _repr_html_() such that table-like objects automagically get
formatted as HTML tables in the IPython notebook, e.g.:


http://nbviewer.ipython.org/gist/alimanfoo/926868c73e18ca7f77b4/tables.ipynb

Cheers,
Alistair

[1] http://pandas.pydata.org/
[2] http://petl.readthedocs.org/
-- 
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health <http://cggh.org>
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Web: http://purl.org/net/aliman
Email: alimanfoo at gmail.com
Tel: +44 (0)1865 287721 ***new number***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140527/176ae0ef/attachment.html>


More information about the IPython-dev mailing list