🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Data Cleaning: all 10 questions

Quiz: Data Cleaning · Question 5 of 10

What does pd.todatetime(col, errors="coerce") do with "not known"?

What does pd.to_datetime(col, errors="coerce") do with "not known"?

  1. A.Raises an exception
  2. B.Turns it into NaT (missing date)
  3. C.Replaces it with today's date
  4. D.Keeps the text
Answer & explanation

Correct answer: Turns it into NaT (missing date)

NaT is the missing value for dates.

Can you get the rest right without peeking?

Take the timed Quiz: Data Cleaning quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →