摘抄至
https://blog.csdn.net/RogerFedereYY/article/details/113756065
简单来说就是日期变成了数字
解决方案如下
def date(para):
delta = pd.Timedelta(str(int(para))+'days')
time = pd.to_datetime('1899-12-30') + delta
return time
data['发货日期'] = data['发货日期'].apply(date)
就可以了