I have set of data with the format n days hh:mm:ss. I tried to use this code since I am adding duration based on its id:
groupby(['event_id'])['data_ts'].sum()
but as expected, it produced the error
TypeError: datetime64 type does not support add operations
Is there a way to add data with this format in python?