A lot of headaches are caused by the fact that pd.NaT
is usually a datetime
but occasionally a timedelta
. In some cases this leads to unavoidable internal inconsistency (pandas-dev/pandas#19124). For pandas2 it is worth consider breaking these into two distinct constants with unambiguous types.