python操作mysql百万行表数据处理后写进另一表
1、代码如下:import osimport pandas as pdimport csvimport argparseimport pymysqlimport sysclass ConnectionDatabase(object): # 连接mysql数据库 def __init__(self, ip, user_name, passwd, db, char='utf8'): self.ip = ip # self.port = port