11 2020 档案
摘要:邮件发送脚本 import smtplib from email.mime.text import MIMEText from email.header import Header from email.utils import formataddr class SendMail(): def __
阅读全文
摘要:如果数据库表中有很多空值,那么pandas在将数据取出来后,在python中会以"None"显示,但是pandas会认为"None"值为字符串,所以当空值所在字段为整数int或bigint类型时,pandas会抛出异常(字符串类型字段则不会),因此需要将取出的DataFrame数据中的空值所在字段进
阅读全文