def current_data_indexes(data, two_columns_argument):
    """
    Transform the columns argument to the indexes of data tuple.

    Parameters
    ----------
    data : tuple
        A value returned by the get_data() function.
    two_columns_argument : list
        A list which contains two indexes of used columns - columns argument.

    Returns
    -------
    tuple
        A tuple which contains two indexes.
    """
    first_index = -1
    second_index = -1
    for index, column_data in enumerate(data):
        if two_columns_argument[0] == column_data[0]:
            first_index = index
        if two_columns_argument[1] == column_data[0]:
            second_index = index
    return first_index, second_index
