test if date is nat pandas code example Example: pandas not a time nat In [21]: pandas.isnull(pandas.NaT) Out[21]: True