#读取数据库数据
#import pandas as pd 导入模块
#import pymysql 导入数据库模块
#con = pymysql.connect(host='localhost',port=3306,user='root',password='mysql',db='mypro',charset='utf8') 建立链接
#df_data = pd.read_sql('select * from user ',con)
#print(df_data)
#print(df_data.where(df_data['id'] == 1).dropna()) #按照条件查询