def _clean_column_name(name):
    try:
        return _clean_name_cache[name]
    except __HOLE__:
        clean = NON_ALPHA_REGEX.sub("_", START_BADCHAR_REGEX.sub("", END_BADCHAR_REGEX.sub("", name)))
        _clean_name_cache[name] = clean
        return clean
dataset/ETHPy150Open datastax/python-driver/cassandra/query.py/_clean_column_name