'Select rows using output of np.where'

def test_np_where(self, table_data):

    t = table_data.Table(table_data.COLS)
    rows = np.where((t['a'] > 1.5))
    t2 = t[rows]
    assert np.all((t2['a'] == [2, 3]))
    assert np.all((t2['b'] == [5, 6]))
    assert isinstance(t2, table_data.Table)
    rows = np.where((t['a'] > 100))
    t2 = t[rows]
    assert (len(t2) == 0)
    assert isinstance(t2, table_data.Table)
