title: How to convert hourly rainfall data into daily rainfall
body: <p>I have hourly rainfall and other data for long period. I would like to get daily values from these hourly data. My daily values should start from hour 1 to hour 24.</p>
  
  <pre><code>Year  Month  Day  Hour  Rain  RH Temp
  
  1976   1     1    1     3.4   60 16 
  
  1976   1     1    2     0     80 18
  
  1976   1     1    3     NaN   50 18
  </code></pre>