I have a table as shown here. The first column is the index and the rest of the 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 with the same index.
My expected result is 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