In my CSV I have a column with time durations written as 13:08.4
and 13:06.20
.
I would like to convert this column into a pandas timedelta.
However when I try df['Time'] = pd.to_timedelta(df['Time'])
I get an error ValueError: expected hh:mm:ss format before .
What is going on and how do I fix it?