用python在后端将数据写入到数据库: # coding:utf- import pandas as pd from sqlalchemy import create_engine # 初始化数据库连接,使用pymysql模块 # MySQL的用户:root, 密码:, 端口:,数据库:mydb engine = create_engine('mysql+pymysql://root:123456@localhost:3306/python1') import numpy as np impo…