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