Module ImportFrom alias alias alias ImportFrom alias alias alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad For NameStore Call NameLoad NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Return TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Return TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Lambda arguments args NameParam defaults SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad FunctionDef arguments args NameParam defaults body For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list Return NameLoad decorator_list
N/A __future__ absolute_import print_function division petl.util.base values header Table typeset N/A N/A table field N/A N/A N/A 
    Return a set containing all Python types found for values in the given
    field. E.g.::

        >>> import petl as etl
        >>> table = [['foo', 'bar', 'baz'],
        ...          ['A', 1, '2'],
        ...          ['B', u'2', '3.4'],
        ...          [u'B', u'3', '7.8', True],
        ...          ['D', u'xyz', 9.0],
        ...          ['E', 42]]
        >>> sorted(etl.typeset(table, 'foo'))
        ['str']
        >>> sorted(etl.typeset(table, 'bar'))
        ['int', 'str']
        >>> sorted(etl.typeset(table, 'baz'))
        ['NoneType', 'float', 'str']

    The `field` argument can be a field name or index (starting from zero).

     N/A s N/A set N/A v N/A values table field N/A N/A N/A N/A N/A N/A s add N/A N/A type v __name__ N/A N/A N/A IndexError N/A N/A N/A s N/A N/A N/A Table typeset typeset diffheaders N/A N/A t1 t2 N/A N/A N/A 
    Return the difference between the headers of the two tables as a pair of
    sets. E.g.::

        >>> import petl as etl
        >>> table1 = [['foo', 'bar', 'baz'],
        ...           ['a', 1, .3]]
        >>> table2 = [['baz', 'bar', 'quux'],
        ...           ['a', 1, .3]]
        >>> add, sub = etl.diffheaders(table1, table2)
        >>> add
        {'quux'}
        >>> sub
        {'foo'}

     N/A t1h N/A set N/A header t1 N/A t2h N/A set N/A header t2 N/A N/A N/A t2h t1h N/A t1h t2h N/A N/A N/A Table diffheaders diffheaders diffvalues N/A N/A t1 t2 f N/A N/A N/A 
    Return the difference between the values under the given field in the two
    tables, e.g.::

        >>> import petl as etl
        >>> table1 = [['foo', 'bar'],
        ...           ['a', 1],
        ...           ['b', 3]]
        >>> table2 = [['bar', 'foo'],
        ...           [1, 'a'],
        ...           [3, 'c']]
        >>> add, sub = etl.diffvalues(table1, table2, 'foo')
        >>> add
        {'c'}
        >>> sub
        {'b'}

     N/A t1v N/A set N/A values t1 f N/A t2v N/A set N/A values t2 f N/A N/A N/A t2v t1v N/A t1v t2v N/A N/A N/A Table diffvalues diffvalues strjoin N/A N/A s N/A N/A N/A 
    Return a function to join sequences using `s` as the separator. Intended
    for use with :func:`petl.transform.conversions.convert`.

     N/A N/A N/A N/A l N/A N/A N/A s join N/A map str l N/A nthword N/A N/A n sep N/A None N/A N/A 
    Construct a function to return the nth word in a string. E.g.::

        >>> import petl as etl
        >>> s = 'foo bar'
        >>> f = etl.nthword(0)
        >>> f(s)
        'foo'
        >>> g = etl.nthword(1)
        >>> g(s)
        'bar'

    Intended for use with :func:`petl.transform.conversions.convert`.

     N/A N/A N/A N/A s N/A N/A N/A N/A s split sep N/A n N/A coalesce N/A N/A N/A fields kwargs N/A N/A 
    Return a function which accepts a row and returns the first non-missing
    value from the specified fields. Intended for use with
    :func:`petl.transform.basics.addfield`.

     N/A missing N/A N/A kwargs get missing None N/A default N/A N/A kwargs get default None _coalesce N/A N/A row N/A N/A N/A f fields N/A N/A v N/A row N/A f N/A N/A v missing N/A N/A v N/A default N/A N/A _coalesce N/A