In [4]:
import petl.interactive as etl
In [1]:
import petlx.ipython
In [2]:
t1 = etl.dummytable(20).addrownumbers()
In [3]:
t1
Out[3]:
In [4]:
t1.display(caption='test')
In [5]:
t1.display(10, caption='test')
In [6]:
t1.displayall(caption='test')
In [1]:
import numpy as np
In [5]:
t2 = etl.dummytable(10)
In [8]:
dtype = np.rec.array(tuple(t2.data())).dtype
dtype
Out[8]:
In [9]:
dtype.names = ['foo', 'bar', 'baz']
dtype
Out[9]:
In [ ]: