pandas的timestamp时间戳转string

df[['年月日']].apply(lambda x: x.strftime(%Y-%m-%d’))
df['年月日'] =[x.strftime('%Y-%m-%d') for x in df['年月日']]
posted @ 2020-02-16 16:18  爱做梦的子浩  阅读(2700)  评论(1)    收藏  举报