| Home | Trees | Index | Help |
|
|---|
| Package picalo :: Package base :: Module TableList :: Class TableList |
|
object--+ |list--+ | TableList
| Method Summary | |
|---|---|
A list of picalo tables. | |
__add__(self,
other)
| |
__getitem__(self,
index)
| |
__getslice__(self,
i,
j)
| |
__mul__(self,
other)
| |
__setitem__(self,
key,
value)
| |
__setslice__(self,
i,
j,
sequence)
| |
__sub__(self,
other)
| |
append(self,
value)
| |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
Returns whether the table has been changed since loading | |
Returns whether the first table in this list is filtered. | |
This method is not supported in TableLists. | |
Saves this TableList in native Picalo format. | |
Saves this TableList in CSV format. | |
Saves this TableList in delimited format. | |
Saves this TableList in fixed format. | |
Saves this TableList in tsv format. | |
Saves this TableList in xml format. | |
Sets whether the class has been changed since loading. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
Sets the read only status of this table. | |
This method is not supported in TableLists. | |
This method is not supported in TableLists. | |
Opens the table list for viewing in the Picalo user interface. | |
| Inherited from list | |
x.__contains__(y) <==> y in x | |
x.__delitem__(y) <==> del x[y] | |
Use of negative indices is not supported. | |
x.__eq__(y) <==> x==y | |
x.__ge__(y) <==> x>=y | |
x.__getattribute__('name') <==> x.name | |
x.__gt__(y) <==> x>y | |
x.__hash__() <==> hash(x) | |
x.__iadd__(y) <==> x+=y | |
x.__imul__(y) <==> x*=y | |
x.__iter__() <==> iter(x) | |
x.__le__(y) <==> x<=y | |
x.__len__() <==> len(x) | |
x.__lt__(y) <==> x<y | |
x.__ne__(y) <==> x!=y | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__repr__() <==> repr(x) | |
L.__reversed__() -- return a reverse iterator over the list | |
x.__rmul__(n) <==> n*x | |
L.count(value) -> integer -- return number of occurrences of value | |
L.extend(iterable) -- extend list by appending elements from the iterable | |
L.index(value, [start, [stop]]) -> integer -- return first index of value | |
L.insert(index, object) -- insert object before index | |
L.pop([index]) -> item -- remove and return item at index (default last) | |
L.remove(value) -- remove first occurrence of value | |
L.reverse() -- reverse *IN PLACE* | |
L.sort(cmp=None, key=None, reverse=False) -- stable sort *IN PLACE*; cmp(x, y) -> -1, 0, 1 | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
*args,
**kargs)
|
append_calculated(self, name, expression)This method is not supported in TableLists. Use TableArrays if this method is required. |
append_calculated_static(self, name, column_type, expression)This method is not supported in TableLists. Use TableArrays if this method is required. |
append_column(self, name, column_type, values=None)This method is not supported in TableLists. Use TableArrays if this method is required. |
clear_filter(self)This method is not supported in TableLists. Use TableArrays if this method is required. |
column(self, col)This method is not supported in TableLists. Use TableArrays if this method is required. |
column_count(self)This method is not supported in TableLists. Use TableArrays if this method is required. |
delete_column(self, column)This method is not supported in TableLists. Use TableArrays if this method is required. |
filter(self, expression=None)This method is not supported in TableLists. Use TableArrays if this method is required. |
get_column_names(self)This method is not supported in TableLists. Use TableArrays if this method is required. |
get_columns(self)This method is not supported in TableLists. Use TableArrays if this method is required. |
guess_types(self, num_records=-1)This method is not supported in TableLists. Use TableArrays if this method is required. |
insert_calculated(self, index, name, expression)This method is not supported in TableLists. Use TableArrays if this method is required. |
insert_calculated_static(self, index, name, column_type, expression)This method is not supported in TableLists. Use TableArrays if this method is required. |
insert_column(self, index, name, column_type, values=None)This method is not supported in TableLists. Use TableArrays if this method is required. |
is_changed(self)Returns whether the table has been changed since loading |
is_filtered(self)Returns whether the first table in this list is filtered. |
move_column(self, column, new_index)This method is not supported in TableLists. Use TableArrays if this method is required. |
save(self, filename, respect_filter=False)Saves this TableList in native Picalo format. This is the preferred format to save TableLists in because all column types, formulas, and so forth are saved.
|
save_csv(self, filename, line_ending='\n', none='', encoding='utf-8', respect_filter=False)Saves this TableList in CSV format. Since the table list probably has multiple tables in it, one CSV per table is created by prepending 1, 2, 3 to the filename.
|
save_delimited(self, filename, delimiter=',', qualifier='"', line_ending='\n', none='', encoding='utf-8', respect_filter=False)Saves this TableList in delimited format. Since the table list probably has multiple tables in it, one delimited file per table is created by prepending 1, 2, 3 to the filename.
|
save_fixed(self, filename, line_ending='\n', none='', respect_filter=False)Saves this TableList in fixed format. Since the table list probably has multiple tables in it, one fixed file per table is created by prepending 1, 2, 3 to the filename.
|
save_tsv(self, filename, line_ending='\n', none='', encoding='utf-8', respect_filter=False)Saves this TableList in tsv format. Since the table list probably has multiple tables in it, one tsv file per table is created by prepending 1, 2, 3 to the filename.
|
save_xml(self, filename, line_ending='\n', indent='\t', compact=False, none='', respect_filter=False)Saves this TableList in xml format. Since the table list probably has multiple tables in it, one xml file per table is created by prepending 1, 2, 3 to the filename.
|
set_changed(self, changed)Sets whether the class has been changed since loading. This is not normally called by users. |
set_format(self, column, format=None)This method is not supported in TableLists. Use TableArrays if this method is required. |
set_name(self, column, name)This method is not supported in TableLists. Use TableArrays if this method is required. |
set_readonly(self, readonly_flag=False)Sets the read only status of this table. Tables that are read only cannot be modified. Normally, tables are initially not read only (i.e. can be modified). The only exception is tables loaded from databases, which are read only.
|
set_type(self, column, column_type=None, format=None, expression=None)This method is not supported in TableLists. Use TableArrays if this method is required. |
structure(self)This method is not supported in TableLists. Use TableArrays if this method is required. |
view(self)Opens the table list for viewing in the Picalo user interface. The resulting view allows you to page through the tables in the list. See the first example. You can view individual tables in the list by using the [n] notation. See the second example for this notation. Example:
>>> data = Table([
... ('id', int),
... ('name', unicode),
... ],[
... [ 1, 'Benny' ],
... [ 2, 'Vijay' ],
... ])
>>> tables = Grouping.stratify_by_value(data, 'id')
>>> tables.view()
Example:
>>> data = Table([
... ('id', int),
... ('name', unicode),
... ],[
... [ 1, 'Benny' ],
... [ 2, 'Vijay' ],
... ])
>>> tables = Grouping.stratify_by_value(data, 'id')
>>> tables[0].view()
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Aug 20 05:38:17 2007 | http://epydoc.sf.net |