make_table

make_table(header=None, data=None, row_order=None, digits=4, space=4, title='', max_width=1e+100, index_name=None, legend='', missing_data='', column_templates=None, data_frame=None, format='simple', **kwargs)
Parameters
header

column headings

data

a 2D dict, list or tuple. If a dict, it must have column headings as top level keys, and common row labels as keys in each column.

row_order

the order in which rows will be pulled from the twoDdict

digits

floating point resolution

space

number of spaces between columns or a string

title

as implied

max_width

maximum column width for printing

index_name

column name with values to be used as row identifiers and keys for slicing. All column values must be unique.

legend

table legend

missing_data

replace missing data with this

column_templates

dict of column headings or a function that will handle the formatting.

limit

exits after this many lines. Only applied for non pickled data file types.

data_frame

a pandas DataFrame, supersedes header/rows

format

output format when using str(Table)