I have a table as blow. the first column is the index and the rest columns are the data.
Result ReceiveDateODBC ReceiveTimeODBC ResultDateODBC ResultTimeODBC TAT
RIVERA, I NaN NaN NaN 5/31/2024 0:00 7:02:00 60
RIVERA, I 39 5/31/2024 0:00 6:02:00 NaN NaN NaN
RIVERA, I NaN NaN NaN NaN NaN NaN
RIVERA, I NaN NaN NaN NaN NaN NaN
BAILEY, T NaN NaN NaN 5/31/2024 0:00 12:32:00 71
BAILEY, T 2.8 5/31/2024 0:00 11:21:00 NaN NaN NaN
BAILEY, T NaN NaN NaN NaN NaN NaN
BAILEY, T NaN NaN NaN NaN NaN NaN
I want to combine all the rows having the same index. my expected results are like this:
Result ReceiveDateODBC ReceiveTimeODBC ResultDateODBC ResultTimeODBC TAT ResultModifiers
RIVERA,I 39 5/31/2024 0:00 6:02:00 NaN 7:02:00 60 H10207-CALLCR-;NATALIE L RN ON 5/31 AT 0702 CWARD
how to achieve this?
Thanks,