NaT

noun

say it: “NAT” /ˈnæt/

Short for "not a time": the mark pandas puts where a date or a length of time is missing or couldn't be read.

What is NaT in pandas?

NaT, read "not a time", is pandas' mark for a missing date or length of time, as NaN is for a missing number. isna() counts it like any other missing value.

import pandas as pd
dates = pd.to_datetime(pd.Series(["2026-10-03", "soon"]), errors="coerce")
print(dates.isna().sum())   # 1: "soon" became NaT

In a sentence

  • “The date typed as "soon" came out as NaT.”
  • “She counted the NaT values before and after reading the dates.”

Level: Journeyman · More Python terms at this level

Updated