Skip to content

This repository automates the creation of output tabulations for publication in .xlsx files from a Pandas DataFrame

License

Notifications You must be signed in to change notification settings

JoseMHU/Tabulation-generator-from-Pandas

Repository files navigation

Tabulation Generator (Output Tabulations for Publication) from a Pandas DataFrame

logo

This repository automates the creation of output tabulations in .xlsx files from a Pandas DataFrame. You can define styles for the tabulations (font type, font size, gradient colors, borders, etc.), sections or pages of the Excel workbook where the tabulations will be inserted, select the variables to be tabulated from the DataFrame, the cross or secondary variables with which the selected variables will be disaggregated, and establish how the data will be presented (in absolute values, in total percentages, in percentages by columns, or in percentages by rows).

What Does This Repository Do?

This repository starts from a database loaded in DataFrame format in Pandas and with the definition of a settings DataFrame:

Example