def save_df_as_csv(self):
if len(self.all_rows) == <NUM_LIT:0>:<EOL><INDENT>log.info(("<STR_LIT>")<EOL>.format(self.df))<EOL>return<EOL><DEDENT>else:<EOL><INDENT>log.info(("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>.format(len(self.recv_msgs),<EOL>self.save_to_file,<EOL>len(self.df)))<EOL>self.df.to_csv(self.save_to_file,<EOL>sep="<STR_LIT:U+002C>",<EOL>encoding="<STR_LIT:utf-8>",<EOL>index=True)<EOL>log.info(("<STR_LIT>")<EOL>.format(self.save_to_file))<EOL><DEDENT>
save_df_as_csv