Table

Create a table with a default name in the active session.

Syntax

tab=Table()

Arguments

caption
The table caption.
Type = string
tab.caption=<'caption'>
csvFile
The path to the CSV file.
Type = string
tab.csvFile=<'csv_file'>
maxColumns
The number of maximum columns where to split; default is 0.
Type = string
tab.maxColumns(<integer>)
maxRows
The number of the maximum rows where to split; default is 0.
Type = string
tab.maxRows(<integer>)
name
The table name.
Type = string
tab.name=<'name'>
session
The session where the table is located (read only).
Type = object
sesObj = tab.session
setAttributes()
Set multiple attributes simultaneously.
Type = method
tab.setAttributes(name=<name>,csvFile=<'csv_file'>)
split
Turn auto split on/off.
Type = Boolean
tab.split=<True/False>
splitBy
Split by rows and columns.
Type = string
tab.splitBy=<'rows'/'columns'>
stretch
Stretch the table to fill the available table width.
Type = Boolean
tab.stretch=<True/False>

Example

table = Table()
table.caption = 'Table caption'
table.csvFile = path5
table.split=True
table.maxColumns=5
table.maxRows=9