title: Using datetime.time for comparison and column creation
body: <p>I've been using Pandas for a while and I'm sure it's a dumb question.</p>
  
  <p>I need to create a column in a data frame which is conditional to the datetime.time. If datetime.time &lt; 12, fill column with 'morning', then the same process to 'afternoon' and 'night'. </p>
  
  <pre><code>import datetime
  
  b['time'] = ['01-01-2000 10:00:00', '01-01-2000 15:00:00', '01-01-2000 21:00:00']
  
  b['time'].dt.time
  
  (output)
  1   10:00:00
  2   15:00:00
  3   21:00:00
  
  b['time'].dt.time &lt; 12 #example
  
  TypeError: can't compare datetime.time to int
  </code></pre>
  
  <p>Question is: I can't compare datetime.time to int. How can I fix this?</p>
  
  <p>Much appreciated.</p>