def supertype(measure):
    if isinstance(measure, Option):
        measure = measure.ty
    assert matches_typeset(measure, scalar), 'measure must be numeric'
    return supertype_map[measure]
Get the super type of a concrete numeric type
dataset/ETHPy150Open blaze/datashape/datashape/typesets.py/supertype