I\'m trying to test if one of my variables is pd.NaT. I know it is NaT, and still it won\'t pass the test. As an example, the following code prints nothing :
pd.NaT is pd.NaT
True
this works for me.