You can filter any column by value using the usual comparison operators
In [1]:
from gtable import Table
import numpy as np
t = Table()
t.add_column('a', np.random.rand(10))
t.add_column('b', np.arange(10))
t.add_column('s', list('abcdefghij'))
t.to_pandas()
Out[1]:
In [2]:
t.filter(t.a > 0.5).to_pandas()
Out[2]:
In [3]:
t.filter((t.a < 0.5) & (t.b <= 5)).to_pandas()
Out[3]:
In [5]:
t.filter(t.s == 'a').to_pandas()
Out[5]:
In [ ]: