gviz_data_table.table module¶
-
class
gviz_data_table.table.
Table
(schema=None, options=None)[source]¶ Bases:
object
Tables are two-dimensional arrays with fixed schemas.
Columns are ordered dictionaries of id, label and data type.
Rows are ordered dictionaries mirroring columns.
-
add_column
(id, type, label=None, options=None)[source]¶ Add a new column
Columns cannot be added to tables which already contain data.
-
append
(row)[source]¶ Add a row.
Rows are either sequences of values, or sequences of (value, label, options) tuples, or sequences of cell dictionaries. Dictionaries are the most flexible but also the most verbose. Tuples do not have to be complete but will be exhausted in order, i.e. you can’t have just a value and options.
-
options
¶
-