title: Accessing the datetime.time (00:00 - 23:59) format in a numeric data type
body: <p>I have a 24-HR averaged data that is indexed according from 00:00 - 23:59, at an interval of 1 minute. This leads to 1440 data points corresponding to each minute. I want to map these timestamps to their numerical indices ranging from 0-1440 (as there 1440 minutes in the entire day). </p>
  
  <p>For example, 00:00 ->0, 00:01->1, 00:02->2 ...23:58->1339, 23:59->1440 </p>
  
  <blockquote>
    <blockquote>
      <p>time = 01:11 dtype:datetime.time<br>
      time.func()<br>
         71</p>
    </blockquote>
  </blockquote>
  
  <p>I tried to search if there is any such functionality in pandas for the datetime.time format. But, I couldn't find any. </p>
  
  <p>If there is no in-built functionality in pandas for this, the other way might be to write a function that maps the specific datetime.time to an index (0-1440) . </p>