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.
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.