title: Python date time field
body: <p>See this program:</p>
  
  <pre><code>dfPeople = pd.DataFrame({'name': ['alice','bob'],'date_of_birth': ['10/25/1995 03:30','10/29/2002 9:25']})
  
  dfPeople['date_of_birth'] = pd.to_datetime(dfPeople['date_of_birth'])
  
  dfPeople['date_of_birth'].dtype 
  
  theDate = dfPeople['date_of_birth'].dt.date
  </code></pre>
  
  <p>theDate is supposed to extract the date. When I try something like this</p>
  
  <pre><code>if theDate[0]=='1995-10-25':
      print("equal")
  </code></pre>
  
  <p>I do not see the statement printed. Thank you in advance.</p>