

def test_isdummy():
    X = np.random.random((50, 10))
    X[:, 2] = np.random.randint(1, 10, size=50)
    X[:, 6] = np.random.randint(0, 2, size=50)
    X[:, 4] = np.random.randint(0, 2, size=50)
    X[:, 1] = np.random.randint((- 10), 10, size=50)
    count_ind = _isdummy(X)
    assert_equal(X, [4, 6])

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py test_isdummy/VarMisuse@124/134 `count_ind`->`X`