我已成功插入数据。但是我想要得到数据插入与否的结果。我的代码是:
unit_type.to_sql(con=self.mysql_hermes.conn, name='CiqHistEleData',
if_exists='append', flavor='mysql', index=False)我想要一个变量的结果为真或假。
https://stackoverflow.com/questions/41456831
复制相似问题