I'm trying to calculate average time distance from a point to another. This is the functions for the import data.
While handling the time there is an error about the type list of the start time
stime_record :
[['01/01/2016 00h15m'], ['01/01/2016 00h48m'], ['01/01/2016 01h08m'], ['01/01/2016 03h06m'], ['01/01/2016 05h22m'], ['01/01/2016 08h34m'], ['01/01/2016 09h59m']]
func :
for x in stime_record:
datetime.strptime(str(x), '%d/%m/%Y %Hh%Mm')
ValueError: time data "['01/01/2016 00h15m']" does not match format '%d/%m/%Y %Hh%Mm'