def _add_validation_res_full(table):
    """
    Utility that adds a new column to the table.
    Adds a new column with the 'full res' (i.e. seq_id + ins_code).

    :param table: pandas DataFrame object
    :return: returns a modified pandas DataFrame
    """
    if 'validation_resnum' in table and 'validation_icode' in table:
        table['validation_resnum_full'] = table['validation_resnum'] + table[
            'validation_icode'].str.replace('?', '')
    return table
