Tables

Available Mic Python calls for tables:

  • Create a new tabular report
  • Add a column
  • Add a table

Add a Table

This script adds a table to the last created tabular report:

Copy
mic.table.addtable( name )

Keyword arguments:

  name --- the table name

Add a Column

This script adds a column to the last created table:

Copy
mic.table.addcolumn(header, values, align='r'):

Keyword arguments:

  header --- column header; must be a string (or convertible)
  values --- column values; must be a list of strings (or convertible)
  align  --- column alignment; 'r', 'l', 'c' for right, left, and center justified

Create a New Tabular Report

Copy
mic.table( title='User Table' )

Keyword arguments:

  title --- the tabular report title (default = 'User Table')