code: def get_to_compute_cols(
      columns, anonymous_columns, skip_columns, use_anonymous
  ):
      if skip_columns is None:
          skip_columns = []
      if use_anonymous and skip_columns is not None:
          skip_columns = [
              anonymous_columns[columns.index(col)]
              for col in skip_columns
          ]
      skip_col_set = set(skip_columns)
      select_columns = [
          col for col in columns if col not in skip_col_set
      ]
  
      return select_columns
  
imports: from typing import List, Union
  from fate.arch import Context
  from fate.components.core import GUEST, HOST, Role, cpn, params
label_desc: Use image node_id 2 for calling a global function with example usage: get_to_compute_cols(columns, anonymous_columns, skip_columns, use_anonymous) and returns: select_columns