Average time without changing format using pandas
You can get the average if you convert it to timedelta
first:
>>> pd.to_timedelta(df['TimeDiff']).mean()Timedelta('0 days 00:01:11.333333')
You can get the average if you convert it to timedelta
first:
>>> pd.to_timedelta(df['TimeDiff']).mean()Timedelta('0 days 00:01:11.333333')