Bugfix

added self kwarg to subclass method _to_df(self, rows, res, ...)