def print_time_range(times):
    print('Time from: {0}, to: {1}'.format(datetime.fromtimestamp(times.min
        ()), datetime.fromtimestamp(times.max())))
Getting time information from string with pandas and datatime in Python