def convert_to_df(self):
log.info(("<STR_LIT>")<EOL>.format(len(self.all_rows)))<EOL>if len(self.all_rows) == <NUM_LIT:0>:<EOL><INDENT>return<EOL><DEDENT>self.df = pd.DataFrame(self.all_rows).set_index("<STR_LIT>")<EOL>if len(self.df) != len(self.all_rows):<EOL><INDENT>log.error(("<STR_LIT>")<EOL>.format(len(self.all_rows),<EOL>len(self.df)))<EOL><DEDENT>else:<EOL><INDENT>log.info(("<STR_LIT>")<EOL>.format(len(self.all_rows),<EOL>len(self.df)))<EOL><DEDENT>
convert_to_df