def __unicode__(self):

        attrs = ["{k}={v}".format(k=k, v=getattr(self, k))
                 for k in self._attributes
                 if getattr(self, k, None) is not None]
        return "{klass} [{attrs}]".format(klass=self._window_type,
                                          attrs=','.join(attrs))
provide a nice str repr of our rolling object
dataset/ETHPy150Open pydata/pandas/pandas/core/window.py/_Window.__unicode__