convert_to_df

def convert_to_df(self):
        """convert_to_df"""

        log.info(("converting={}")
                 .format(len(self.all_rows)))

        if len(self.all_rows) == 0:
            return

        self.df = pd.DataFrame(self.all_rows).set_index("idx")

        if len(self.df) != len(self.all_rows):
            log.error(("Failed converting={} to rows={}")
                      .format(len(self.all_rows),
                              len(self.df)))
        else:
            log.info(("converted={} into rows={}")
                     .format(len(self.all_rows),
                             len(self.df)))