title: Spread observation which starts in one time over multiple rows to the end of the another time
body: <p>I have time series data</p>
  
  <pre><code>        start_date_time    ...   process_duration_in_hours           end_date_time  
      2019-01-01 05:37:19    ...                       28,78     2019-01-02 10:24:24 
      2019-01-01 03:15:01    ...                       12,00     2019-01-01 15:15:01
  </code></pre>
  
  <p>where <code>...</code> is some features</p>
  
  <p>I need to get data in the next form:</p>
  
  <pre><code>    start_date   ...   process_duration_in_hours
      2019-01-01   ...                       18,37
      2019-01-01   ...                       12,00
      2019-01-02   ...                       10,41
  </code></pre>
  
  <p>If I have an observation where <code>process_duration_in_hours</code> is longer than the remainder of a day, I want to spread this observation to the next day preserving all <code>...</code> features and change <code>process_duration_in_hours</code> value, which have to be equal the remainder of process duration in the next day. Also it is possible that process takes more than one day.          </p>