def map_type(value):
    if value in TYPE_MAP:
        return TYPE_MAP[value]
    else:
        return str
Maps a BigML type to a Python type.
dataset/ETHPy150Open bigmlcom/python/bigml/util.py/map_type