def _get_valid_mysql_name(name):
    # Filter for unquoted identifiers
    # See http://dev.mysql.com/doc/refman/5.0/en/identifiers.html
    uname = _get_unicode_name(name)
    if not len(uname):
        raise ValueError("Empty table or column name specified")

    basere = r'[0-9,a-z,A-Z$_]'
    for c in uname:
        if not re.match(basere, c):
            if not (0x80 < ord(c) < 0xFFFF):
                raise ValueError(uname % "Invalid MySQL identifier '%s'")

    return '`' + uname + '`'
dataset/ETHPy150Open pydata/pandas/pandas/io/sql.py/_get_valid_mysql_name/swapped operands of `%`