[IPython-dev] HTML pandas issue (followup of twitter question)

Thomas Kluyver takowl at gmail.com
Tue Jul 29 13:26:43 EDT 2014

On 29 July 2014 10:22, Adam Hughes <hughesadam87 at gmail.com> wrote:

> The difference is, if I do "print obj.df", I get the nice html output by
> default.

That's strange - print should only ever give you the plain string
representation. If you just put 'obj.df' or 'obj' on a line by itself at
the end of the cell, *without* print, it should display HTML reprs.

If you want to display more than one thing per cell, then
IPython.display.display(obj) is the rich-repr equivalent of print.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140729/04d523eb/attachment.html>

More information about the IPython-dev mailing list