saving pandas data frame as a table image

1,721 views
Skip to first unread message

Abhishek Pratap

unread,
May 15, 2013, 8:01:00 PM5/15/13
to pydata
Hi Guys

After processing a df I would like to finally save it as a table
image. Is there any slick way to do that ?

For example something similar to IPython notebook output(attached) but
as an image would be great.



Thanks!
-Abhi
sample_output.jpg

Wouter Overmeire

unread,
May 16, 2013, 10:30:19 AM5/16/13
to pyd...@googlegroups.com



2013/5/16 Abhishek Pratap <apr...@lbl.gov>

--
You received this message because you are subscribed to the Google Groups "PyData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pydata+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



I have used the to_latex method for this.
You have to embed the output in a latex document to get a pdf or image depending on how setup things.

Here is an example: http://i.imgur.com/U5GuUiM.jpg

What you showed is a an image of the html output, i guess there are ways to convert html to an image.
Reply all
Reply to author
Forward
0 new messages