title: How do you retrieve the hours of the daily min and max of time series data in pandas?
body: <p>I have an hourly price of an asset EVMOS in a pandas df.</p>
  <pre><code>                       EVMOS    date        time
  datetime            
  2022-08-25 21:00:00 2.830231    2022-08-25  21:00:00
  2022-08-25 22:00:00 2.762030    2022-08-25  22:00:00
  2022-08-25 23:00:00 2.714075    2022-08-25  23:00:00
  2022-08-26 00:00:00 2.650786    2022-08-26  00:00:00
  2022-08-26 01:00:00 2.653450    2022-08-26  01:00:00 
  ...
  ...
  </code></pre>
  <p>I would like to know to what the daily max values correspond. I have calculated the max and min values with:</p>
  <pre><code>price.groupby('date')['EVMOS'].max()
  </code></pre>
  <p>I have the results here:</p>
  <pre><code>date
  2022-08-25    2.830231
  2022-08-26    2.802465
  2022-08-27    2.443283
  2022-08-28    2.423311
  2022-08-29    2.607691
  ...
  ...
  </code></pre>
  <p>I would like to know at what time each day these max prices happened.</p>