def pick_type(types):
    type_set = set(types)
    if len(type_set) == 1:
        return list(type_set)[0]
    elif set(['IntType', 'FloatType']) == type_set:
        # if there is a mix of floats and ints, then the column is floats.
        return 'FloatType'
    else:
        return 'StringType'
Convert a "crontab"-style set of parameters into a test function that will
dataset/ETHPy150Open learntextvis/textkit/textkit/coerce.py/pick_type--crossover with--dataset/ETHPy150Open coleifer/huey/huey/api.py/crontab