title: Python pandas datetime attribute extraction
body: <p>My data set has datetime data, I want to iterate over each day and run some function on one of the attributes for each day.
  How do i iterate over each day in datetime series?</p>
  <p>So, I am iterating using groupby(Date)</p>
  <p>Index    Date         Time</p>
  <p>1       2-12-2018     13:22:27 \n</p>
  <p>I need a way to tell if the time is between 12am to 6 am or other time intervals.
  Time is an object here. I am new to python and pandas</p>
  <p>Thanks,</p>