I have a Pandas dataframe that has a column of time in string format as below:
id playTime
12 1d 13h 23m
13 42d 22h 47m
14 7d 16h 31m
15 1h 26m 6s
16 9d 58m
I tried pd.to_datetime(df['playTime'], format='%j%H%M%S') but it shows time data does not match format '%j%H%M%S' (match). In the end, I'd like to convert thedf['playTime']values to seconds.