Skip to main content
`Ctrl`+`K`

# make_table

make_table(header: list[str] | None = None, data: dict | None = None, row_order: list | None = None, digits: int = 4, space: int = 4, title: str = '', max_width: int = 10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104, index_name: str | None = None, legend: str = '', missing_data: str = '', column_templates: dict | None = None, data_frame: DataFrame | None = None, format_name: str = 'simple', **kwargs) → Table
  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_name

      output format when using str(Table)