title: How to ignore pd.NaT in max?
body: <p>Short: how to ignore <code>pd.NaT</code> in a list put into <code>max</code>?</p>
  
  <pre><code>import datetime
  max([pd.NaT, datetime.datetime(1900, 1, 1), datetime.datetime(2000, 1, 1)])
  </code></pre>
  
  <p>The expected output is <code>Timestamp('2000-01-01 00:00:00')</code>. Even if this question seems to be a standard problem, I couldn't find a solution beside this unpythonic one:</p>
  
  <pre><code>max(pd.DataFrame([pd.NaT, datetime.datetime(1900, 1, 1), datetime.datetime(2000, 1, 1)]).dropna()[0])
  </code></pre>