iPython

petlx.ipython.display(tbl, *sliceargs, **kwargs)[source]

Display a table inline within an iPython notebook. E.g.:

In [0]: from petlx.ipython import display
        tbl = [['foo', 'bar'], ['a', 1], ['b', 2]]
        display(tbl)

Alternatively, using the fluent style:

In [0]: from petl.interactive import etl
        import petlx.ipython
        tbl = [['foo', 'bar'], ['a', 1], ['b', 2]]
        etl(tbl).display()

New in version 0.5.

petlx.ipython.displayall(tbl, **kwargs)[source]

Display all rows from a table inline within an iPython notebook. E.g.:

In [0]: from petlx.ipython import displayall
        tbl = [['foo', 'bar'], ['a', 1], ['b', 2]]
        displayall(tbl)

Alternatively, using the fluent style:

In [0]: from petl.interactive import etl
        import petlx.ipython
        tbl = [['foo', 'bar'], ['a', 1], ['b', 2]]
        etl(tbl).displayall()

New in version 0.5.

Read the Docs v: v0.12
Versions
latest
v0.12
v0.11
v0.10
v0.9
v0.8
v0.7
v0.6
v0.5.1
v0.5
v0.4
v0.3
v0.2
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.