Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating Reports with Python: PDF or HTML to PDF

Using maptplotlib I have created 9 graphs which are combined in to a single pdf using the command savefig. However I need to be able to show the statistical analysis below each plot with .describe(). What would be the best way to do this?

like image 986
risail Avatar asked Apr 02 '15 13:04

risail


1 Answers

Pandas has the possibility to include a table with a plot. See the table kwarg to pandas.DataFrame.plot. See the docs: http://pandas.pydata.org/pandas-docs/dev/visualization.html#visualization-table

like image 158
Jan Katins Avatar answered Oct 03 '22 10:10

Jan Katins