import pandas as pd
from sqlalchemy import create_engine
engine = create_engine('mysql://root:123456@localhost/music?charset=utf8')
con = engine.connect()
pd.set_option('expand_frame_repr', False)
kuwo = pd.read_excel('文本路径')
video = pd.read_excel('文本路径')
kuwo.to_sql(name='数据库名字', con=con, if_exists='append')
con.close()