def lookup_casstype(casstype):
    if isinstance(casstype, (CassandraType, CassandraTypeType)):
        return casstype
    try:
        return parse_casstype_args(casstype)
    except (ValueError, AssertionError, IndexError) as e:
        raise ValueError("Don't know how to parse type string %r: %s" % (casstype, e))
Compare eigenvalues of eigvals_banded with those of linalg.eig.
dataset/ETHPy150Open datastax/python-driver/cassandra/cqltypes.py/lookup_casstype--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/linalg/tests/test_decomp.py/TestEigBanded.test_eigvals_banded