Input Data:
from scene time departure time time
12/12/2017 20:01 12/12/2017 20:20 Nan
12/12/2017 22:09 12/12/2017 22:09 Nan
12/12/2017 23:00 12/12/2017 23:30 Nan
12/12/2017 22:37 12/12/2017 22:37 Nan
12/13/17 18:25 12/13/17 20:20 12/13/17 20:20
Here, need fill nan values of time column using the Average of the first two columns i.e., from scene time and departure time
Mentioned expected output below and I have entered values in place of nan generally(as an example).
Expected output:
from scene time departure time handover time
12/12/2017 20:01 12/12/2017 20:20 12/12/2017 20:19
12/12/2017 22:09 12/12/2017 22:30 12/12/2017 22:16
12/12/2017 23:00 12/12/2017 23:30 12/12/2017 23:22
12/12/2017 22:37 12/12/2017 22:37 Nan
12/13/17 18:25 12/13/17 20:20 12/13/17 20:20
12/12/2017 23:00
and12/12/2017 23:30
averages to12/12/2017 23:22
?