

def __unicode__(self):
    '\n        Return a string representation for this object.\n\n        Invoked by unicode(df) in py2 only. Yields a Unicode String in both\n        py2/py3.\n        '
    klass = data.__class__.__name__
    data = self._format_data()
    attrs = self._format_attrs()
    space = self._format_space()
    prepr = (u(',%s') % space).join([(u('%s=%s') % (k, v)) for (k, v) in attrs])
    if (data is None):
        data = ''
    res = (u('%s(%s%s)') % (klass, data, prepr))
    return res

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.__unicode__/VarMisuse@14/78 `self`->`data`