コード例 #1
0
ファイル: test_modules.py プロジェクト: vandana-11/cognito
def test_is_discrete_3():
    df = pd.read_csv(
        os.path.join(os.path.dirname(__file__), 'data', 'Freedman.csv'))
    check = Check()
    assert check.is_discrete(df['Location']) == False
コード例 #2
0
ファイル: test_modules.py プロジェクト: vandana-11/cognito
def test_is_discrete_2():
    df = pd.read_csv(
        os.path.join(os.path.dirname(__file__), 'data', 'Freedman.csv'))
    check = Check()
    assert check.is_discrete(df['nonwhite']) != True