def _replacer(x):
    # get the hex repr of the binary char and remove 0x and pad by pad_size
    # zeros
    try:
        hexin = ord(x)
    except TypeError:
        # bytes literals masquerade as ints when iterating in py3
        hexin = x

    return hex(hexin)
Replace a number with its hexadecimal representation. Used to tag
dataset/ETHPy150Open pydata/pandas/pandas/computation/scope.py/_replacer