def column_width(tokens):
    lens = sorted(map(len, tokens or [])) or [0]
    width = lens[-1]

    # adjust for disproportionately long strings
    if width >= 18:
        most = lens[int(len(lens) * 0.9)]
        if most < width + 6:
            return most

    return width
Return a suitable column width to display one or more strings.
dataset/ETHPy150Open araile/see/see.py/column_width