(data, selected_indices)
return _table_with_annotation_column(
        data, ("No", "Yes"), annotated, ANNOTATED_DATA_FEATURE_NAME)
Returns data with concatenated flag column. Flag column represents
    whether data instance has been selected (Yes) or not (No), which is
    determined in selected_indices parameter.

    :param data: Table
    :param selected_indices: list or ndarray
    :return: Table
Returns data with concatenated flag column. Flag column represents
    whether data instance has been selected (Yes) or not (No), which is
    determined in selected_indices parameter.
Returns data with concatenated flag column . Flag column represents whether data instance has been selected ( Yes ) or not ( No ) which is determined in selected_indices parameter .
def create_annotated_table(data, selected_indices):
    """
    Returns data with concatenated flag column. Flag column represents
    whether data instance has been selected (Yes) or not (No), which is
    determined in selected_indices parameter.

    :param data: Table
    :param selected_indices: list or ndarray
    :return: Table
    """
    if data is None:
        return None
    annotated = np.zeros((len(data), 1))
    if selected_indices is not None:
        annotated[selected_indices] = 1
    return _table_with_annotation_column(
        data, ("No", "Yes"), annotated, ANNOTATED_DATA_FEATURE_NAME)
def create_annotated_table ( data , selected_indices ) : if data is None : return None annotated = np . zeros ( ( len ( data ) , 1 ) ) if selected_indices is not None : annotated [ selected_indices ] = 1 return _table_with_annotation_column ( data , ( "No" , "Yes" ) , annotated , ANNOTATED_DATA_FEATURE_NAME )