Suppose that we store the name along with the date of birth, which is recognized as a string (in DD/MM/YYYY format), in a DataFrame:
date name
0 2000-03-04 Sarah
1 2003-03-05 Jenny
2 2002-03-06 Roberta
Convert the date column to the datetime64[ns] type and change the format to YYYY-MM-DD. Print the resulting DataFrame.