天天看点

pandas 格式化日期

output_data["ShipDate"] = output_data["ShipDate"].dt.strftime("%Y/%m/%d")
           

不考虑业务场景,一味的争执技术的高下,都是耍流氓。