4.5.7.3.2. statsmodels.iolib.table.Row¶
-
class
statsmodels.iolib.table.
Row
(seq, datatype='data', table=None, celltype=None, dec_below='row_dec_below', **fmt_dict)[source]¶ Provides a table row as a list of cells. A row can belong to a SimpleTable, but does not have to.
Parameters: seq : sequence of data or cells
table : SimpleTable
datatype : str (‘data’ or ‘header’)
dec_below : str
(e.g., ‘header_dec_below’ or ‘row_dec_below’) decoration tag, identifies the decoration to go below the row. (Decoration is repeated as needed for text formats.)
-
__init__
(seq, datatype='data', table=None, celltype=None, dec_below='row_dec_below', **fmt_dict)[source]¶ Parameters: seq : sequence of data or cells
table : SimpleTable
datatype : str (‘data’ or ‘header’)
dec_below : str
(e.g., ‘header_dec_below’ or ‘row_dec_below’) decoration tag, identifies the decoration to go below the row. (Decoration is repeated as needed for text formats.)
-
4.5.7.3.2.1. Methods¶
__init__ (seq[, datatype, table, celltype, ...]) |
|
||
add_format (output_format, **fmt_dict) |
Return None. | ||
append |
L.append(object) – append object to end | ||
as_string ([output_format]) |
Return string: the formatted row. | ||
count (...) |
|||
extend |
L.extend(iterable) – extend list by appending elements from the iterable | ||
get_aligns (output_format, **fmt_dict) |
Return string, sequence of column alignments. | ||
index ((value, [start, ...) |
Raises ValueError if the value is not present. | ||
insert |
L.insert(index, object) – insert object before index | ||
insert_stub (loc, stub) |
Return None. | ||
pop (...) |
Raises IndexError if list is empty or index is out of range. | ||
remove |
L.remove(value) – remove first occurrence of value. | ||
reverse |
L.reverse() – reverse IN PLACE | ||
sort |
L.sort(cmp=None, key=None, reverse=False) – stable sort IN PLACE; |