Trees | Indices | Help |
|
---|
|
object --+ | Table
Base class for info that can be represented as a table.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
global_name how to locate self in global namespace, if possible |
|||
size the number of rows |
|||
OnAddField WeakEvent(name) called when a field is added |
|||
OnAfterInsert WeakEvent(index, undoing) called after insertion and all OnInsert callbacks (.set(...) if you like) |
|||
OnChecked WeakEvent(index, checked) called on set_checked |
|||
OnDoubleClick WeakEvent(index, field_name or None) called (e.g. |
|||
OnInsert WeakEvent(index, undoing) called when a row is added (read-only please) |
|||
OnRemoved WeakEvent(index, undoing) called when a row was just removed |
|||
OnRemoving WeakEvent(index, undoing) called when a row is about to be removed |
|||
OnRemovingField WeakEvent(name) called when a field is being removed |
|||
OnSelect WeakEvent(index, field_name or None, sender or None) called when a row is highlighted |
|||
OnSet WeakEvent(index, field_name, val, prev, undoing) called when one field of a row is changed |
|||
accept dict: field name -> conversion_function(string)->value; can raise Exception on invalid input |
|||
all_stats field_stats + group_stats |
|||
checked list[row index] of bool, should row be included in batch actions |
|||
choices dict: field name -> (list of values to choose among) or None |
|||
count_in_group f(group) -> number of rows with Group==group |
|||
default dict: field name -> default value |
|||
field_stats {field_name : [mean, std, median, mode]} |
|||
fields list of field names |
|||
fields_independent list of field names marked independent e.g. |
|||
format dict: field name -> format_function(value)->string |
|||
group_stats [groups_occupied, rows_in_group, count_in_group] |
|||
groups_occupied f(include_zero=False) -> sorted list of 'Group' values, no duplicates, possibly no 0 |
|||
label the table's name |
|||
mean {field_name : f(group=None) -> mean value of field for all segments or group index} |
|||
median {field_name : f(group=None) -> median value of field for all segments or group index} |
|||
mode {field_name : f(group=None) -> most common value of field for all segments or group index} |
|||
rows_in_group f(group) -> list of row indices with Group==group |
|||
sortable (def False) whether the user should be able to sort by column |
|||
std {field_name : f(group=None) -> std deviation of field for all segments or group index} |
|||
units dict: field name -> units_string |
|||
user_can_remove list[row index] of bool, can remove via gui; def True |
|
|||
__global_name | |||
__ref | |||
custom | |||
max_bools | |||
max_fields | |||
notebook | |||
notebook_items | |||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
Triggers OnSelect. This mechanism is provided so that, if there are two or more views on a table, you can select an item in one and it will be selected in the other(s). A view calls select with sender=self so it can ignore its own selection activity. |
|
global_namehow to locate self in global namespace, if possible
|
sizethe number of rows
|
OnDoubleClickWeakEvent(index, field_name or None) called (e.g. by TableView) when a row is double-clicked |
fields_independentlist of field names marked independent e.g. 'Index' |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |