A python package for embedding DataFrames as images into pdf and markdown documents
When converting Jupyter Notebooks to pdf using nbconvert, pandas DataFrames appear as either raw text or as a simple latex table as seen on the left side of the image below.
This package was created to embed DataFrames into pdf and markdown documents as images so that they appear exactly as they do in a Jupyter Notebook, as seen on the right side of the image above.
Usage
There are three different ways to use dataframe_image:
Within a Jupyter Notebook
As a Python library
From the command line
To get access to all of the available options, use it as a library or from the command line. Using it within the notebook uses the default options and downloads a pdf.