|
|
|
|
|
| __init__(self,
filename=None,
default_value=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
asHtml(self,
print_col_headers=True,
print_row_headers=False,
equal_cols=False,
style='simple') |
source code
|
|
|
|
asLists(self,
headers=True)
Returns the table data as a list of lists |
source code
|
|
|
|
asPlainText(self,
print_col_headers=True,
print_row_headers=True,
equal_cols=False,
separator='|')
Returns a text string which is a formated table. |
source code
|
|
|
|
asTex(self)
Returns a text string which as a table formated for latex |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
head(self,
N=10)
Returns a table from the first N rows. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
save(self,
filename,
headers=True)
Save the table to CSV |
source code
|
|
|
|
|
|
|
| setData(self,
row,
col,
value,
accumulate=False) |
source code
|
|
|
|
| setElement(self,
row,
col,
value,
accumulate=False) |
source code
|
|
|
|
| sortByColHeader(self,
comp_func=<built-in function cmp>) |
source code
|
|
|
|
| sortByRowHeader(self,
comp_func=<built-in function cmp>) |
source code
|
|
|
|
tail(self,
N=10)
Returns a table from the last N rows. |
source code
|
|