摘要: 1. 计算月初。2022-05-03 得到2022-05-01 df['month']=df['purchase_date'].apply(lambda x : x.replace(day=1)) 阅读全文
posted @ 2023-02-07 16:10 ttttttian 阅读(25) 评论(0) 推荐(0)