Simplifying good practice in statistical tables.
gptables - a highly opinionated package for spreadsheet production
gptables is a highly opinionated python package. It produces .xlsx files from your pandas dataframes or using reticulate in R. You define the mapping from your data to elements of the table. It does the rest.
gptables uses the official guidance on good practice spreadsheets. It advocates a strong adherence to the guidance by restricting the range of operations possible. The default theme gptheme should accomodate most use cases. However, the Theme object allows development of custom themes, where other formatting is required.
gptables is developed and maintained by the Best Practice and Impact division of the Office for National Statistics, UK.
You define your mapping with your data as a GPTable.
You can define the format of your mapping with a Theme, or simply use the default - gptheme.
You write_workbook() to win.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gptables-0.1.3.tar.gz (44.5 kB)||File type Source||Python version None||Upload date||Hashes View|