def get_maximum_index(values_list):
    """
    Get the index of the maximum value in a list
    
    param: list: values_list A list of values
    return: int: The index of the maximum value
    """
    if len(values_list) == 1:
        max_index = 0
    else:
        max_index = values_list.index(max(values_list))
    return max_index