toytable.columns module

class toytable.columns.AggregationColumn[source]

Bases: object

class toytable.columns.ArrayColumn(name, values=None, type='i')[source]

Bases: array.array

PY_TYPE_MAPPING = {'B': <type 'int'>, 'I': <type 'int'>, 'H': <type 'int'>, 'L': <type 'int'>, 'c': <type 'str'>, 'b': <type 'int'>, 'd': <type 'float'>, 'f': <type 'float'>, 'i': <type 'int'>, 'h': <type 'int'>, 'l': <type 'int'>, 'u': <function u at 0x2ba5efaae398>}
description[source]
fn_from_string()[source]
type[source]
validate(v)[source]
class toytable.columns.Column(name, values=[], type=<type 'object'>)[source]

Bases: list

description[source]
fn_from_string()[source]
validate(v)[source]
class toytable.columns.DerivedColumn(name, inputs, func, type=<type 'object'>)[source]

Bases: object

description[source]
class toytable.columns.DerivedTableColumn(indices_func, column, name=None)[source]

Bases: object

Not so much a derived column, but a column on a derived table

description[source]
name[source]
type[source]
class toytable.columns.JoinColumn(indices_func, column, name=None)[source]

Bases: toytable.columns.DerivedTableColumn

class toytable.columns.StaticColumn(name, value, len_func, type=<type 'object'>)[source]

Bases: object

description[source]
toytable.columns.describe_column(name, typ)[source]

This Page