title: Python Comparing Datetimes with NaT in Columns
body: <p>I have a date frame like that has a submit and resolved date</p>
  <pre><code>  Incident ID   Submit_Date  Resolved_Date 
     INC001.       2021-02-25  2021-03-02     
     INC002        2021-02-27  2021-03-01    
     INC003        2021-02-27  NaT          
     INC004        2021-04-01  NaT  
  </code></pre>
  <p>I have a function to count the tickets if they meet a certain criteria but with the NaT's it won't read them with the comparison</p>
  <p>part of the function I am having problems is like this
  The function it is looking if the rows resolved date is empty and the other tickets resolved date is empty then summing it for a count in a new column</p>
  <pre><code> result = list()
    for row in df.iterrows():
       cur_data = row[1]
       result.append(((cur_data['Resolved_Date'] is pd.NaT) &amp; (df['Resolved_Date'] is pd.NaT))).sum())
  
   df['Count'] = result  
  </code></pre>
  <p>I want the result to look like this</p>
  <pre><code>  Incident ID Submit_Date  Resolved_Date  Count
     INC001        2021-02-25  2021-03-02     0
     INC002        2021-02-27  2021-03-01     0
     INC003        2021-02-27  NaT            2 # counting itself and the other NA resolved date
     INC004        2021-04-01  NaT            2 # counting itself and the other NA resolved date
  </code></pre>
  <p>Right now it is ignoring the NaTs</p>