def get_valid_filename(s):
    s = s.strip().replace(' ', '_')
    return re.sub(r'(?u)[^-\w.]', '', s)
Returns the given string converted to a string that can be used for a clean
dataset/ETHPy150Open quantmind/lux/lux/utils/files.py/get_valid_filename