I have to extract hour/min/sec form "session" column and add them to time. Is there any way to do this using pandas?
I have something like this:
0 22 hrs 7 min 27 sec
1 10 min 10 sec
2 31 min 19 sec
Name: session, dtype: object
And I want to convert this column value to seconds and then add the total seconds to my other time column. This will give me the total time spend.
Any suggestions on how to split this kind of column in df?