Takes a pandas dataframe and returns more-narrow narrow markdown string suitable for printing in a Jupyter notebook.
Project description
pandasfruit
Takes in a pandas dataframe and returns a string containing markdown format where the width of the markdown text is more narrow and is suitable for printing. A more narrow table can fit on a printed page, such as a PDF generated from a Jupyter notebook.
Takes in an optional width parameter (number of characters) and will make the resulting markdown this wide. Else will use a default width of 115.
Also will use a default dictionary of words/abbreviations to shorten column names using the abbreviations instead of the original words. Alternatively, a user-defined dictionary may be passed in.
See project documentation for more details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pandasfruit-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84a78fdbcafff1d0e24a1c9ff4d8a1ab0add59b7e4c7282a1156cb729e2db8e3 |
|
MD5 | 00ec0cfff6c81bddb917bf25631285d9 |
|
BLAKE2b-256 | cfce41d88cbd12b91f81951a809336fafb3eb1ebe41e9030257d8f2f610ff39d |