df[['年月日']].apply(lambda x: x.strftime(‘%Y-%m-%d’))
df['年月日'] =[x.strftime('%Y-%m-%d') for x in df['年月日']]
pandas的timestamp时间戳转string
猜你喜欢
转载自blog.csdn.net/weixin_43124279/article/details/104344197
今日推荐
周排行