I've been screenshotting the dataframes from Jupyter in my notes but it would be really cool if you could save the actual renderings. I looked it up and I think this guy figured out how to do it http://stackoverflow.com/questions/19726663/how-to-save-the-pandas-dataframe-series-data-as-a-figure
Feature request:
DF = pd.DataFrame(somedata)
DF.to_render(path/to/file, format = "pdf")
or something along those lines to get something like:
Seems out of scope for pandas to me.
That's just HTML, so you can save that to a file with df.to_html()
and convert it with something like phantomjs
agreed. out of scope.
@TomAugspurger thanks Ill make a wrapper for it.
I think it would be great to have that in pandas. The solution already exist (see above) and the demand for the feature is clearly high (50k views on the two StackOverflow questions on the subject)
I see this would be useful as we need the rendered table in the formal writing of a data project.
Most helpful comment
I think it would be great to have that in pandas. The solution already exist (see above) and the demand for the feature is clearly high (50k views on the two StackOverflow questions on the subject)