0

Lets say I have a dataframe with only one column A below, rows under A are string as below.

           A
0 15/01/2022
1 16/01/2022
2 17/01/2022
3 18/01/2022
4 19/01/2022
5 20/01/2022

How can I convert them into string format like "2022-01-15"?

Ynjxsjmh
  • 28,441
  • 6
  • 34
  • 52
qwer
  • 11
  • 2
  • I think you need to do a better research: https://stackoverflow.com/questions/26763344/convert-pandas-column-to-datetime?noredirect=1&lq=1 – Prakhar Saxena Oct 19 '22 at 10:39

0 Answers0