def __bytes__(self):
        from pandas.core.config import get_option

        encoding = get_option("display.encoding")
        return self.__unicode__().encode(encoding, 'replace')
Creates a CodeType with co_filename replaced with filename.
dataset/ETHPy150Open pydata/pandas/pandas/core/base.py/StringMixin.__bytes__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/runtime/cgi.py/_FixCodeFilename