def test_isnan():
    from blaze import isnan
    t = Symbol('t', 'var * {name: string, amount: real, timestamp: ?date}')

    for expr in [t.amount.isnan(), ~t.amount.isnan()]:
        assert eval(str(expr)).isidentical(expr)

    assert iscollection(t.amount.isnan().dshape)
    assert str(t.amount.isnan().dshape) in 'bool'
dataset/ETHPy150Open blaze/blaze/blaze/expr/tests/test_symbol.py/test_isnan/swapped operands of `in`