Skip to content

Python script to convert a pandas dataframe with many columns into a number of subtables output as LaTeX script.

License

Notifications You must be signed in to change notification settings

fboschetty/WideTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

WideTable

Python script to convert a pandas dataframe with many columns into a number of subtables output as LaTeX script. Use the wide_table function:

Table = wide_table(table=df, no_cols=16, landscape=True, center=True, midrules=[4, 6])

This will produce a number of subtables with 16 columns, orient them landscape, center them on the page, and insert midrules on rows 4 and 6.

Note. The format of each cell will be reproduced as written e.g., if numbers are defined as float32 the LaTeX table will contain all significant figures.

About

Python script to convert a pandas dataframe with many columns into a number of subtables output as LaTeX script.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages