code: def _select(a_list: List, indices: List[int]) -> List:
      return [a_list[i] for i in indices if i < len(a_list)]
  
file_path: vizseq/vizseq/_view/data_view.py
imports: from typing import Tuple, List, Iterable, NamedTuple, Dict, Optional
  import numpy
  from vizseq._data import VizSeqDataSources, VizSeqLanguageTagger
  from .data_sorters import VizSeqSortingType, VizSeqRandomSorter, VizSeqByLenSorter, VizSeqByStrOrderSorter, VizSeqByMetricSorter
  from .data_filter import VizSeqFilter
  from vizseq.scorers import get_scorer, get_scorer_ids
  from vizseq._visualizers import VizSeqSrcVisualizer, VizSeqRefVisualizer, VizSeqHypoVisualizer, VizSeqDictVisualizer
label_desc: Use image node_id 2 for calling a global function with example usage: _select(a_list, indices) and returns: unknown