def first_index_lt(data_list, value):
    '''return the first index less than value from a given list like object'''
    try:
        index = next(data[0] for data in enumerate(data_list) if data[1] < value)
        return index
    except StopIteration: return - 1
return the first index less than value from a given list like object
recipes/Python/578142_Working_with_Excel_Indexes/recipe-578142.py