Only keep month date year in date time pandas

前端 未结 0 560
醉话见心
醉话见心 2020-12-19 23:25

If I have a datecolumn of dates likes this

df[\'date_utc\'] = pd.to_datetime(df[\'date_utc\'])
df[\'date_utc\']
0       2020-12-01 22:08:07
1       2020-11-11         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题