'int' object is not iterable using panda python
for time_range in range (len(data['time'])):
start = [datetime.strptime(t,'%H:%M:%S') for t in time_range]


time_range is an integer due to using range(int). There is nothing to iterate using an int. It is not a container.