1,python跑sql报错,
1)字段转换问题,发现数据里面包含id,通过写
overdue_data.drop(overdue_data[overdue_data['id']=='id'].index,inplace=True)
解决
2)发送邮件问题,通过安装outlook解决
3)报内存不够,这个错,通过以下方法解决
MemoryError: Unable to allocate 561. MiB for an array with shape (8, 9196884) and data type object
内存不够导致,
解决方法:https://blog.csdn.net/com_fang_bean/article/details/108553458