def METHOD_NAME():
    a = np.array([[1, 2], [3, 4], [5, 6]])
    num_a = num.array(a)
    res_np = np.compress([True, False], a, axis=1)
    res_num = num.compress([True, False], num_a, axis=1)
    assert np.array_equal(res_num, res_np)