code: def _relocate_id_col_to_run_col(compare_data):
      """Returns transformated compare data to include the full run ID as the first col.
  
      Compare data uses the short run ID to represent a 'run'. The short
      run ID is more suitable for typical compare use cases, where the
      data is formatted for the user. In the case of the API, we want to
      provide the full run ID, so we include the `id` run attribute (the
      full run ID) using the `-c` option, which appends that column to
      the compare data.
  
      This function relocated the last column (the full ID) to the first
      column (the short ID).
      """
      if compare_data[0][0] == "no runs":
          return []
      assert (
          compare_data[0][0] == "run" and compare_data[0][-1] == "id"
      ), compare_data[0]
      return [row[-1:] + row[1:-1] for row in compare_data]
  
imports: import click
  from guild import click_util
  from .None import api_support
  from .None import runs_support
label_desc: Use image node_id 4 for calling a global function with example usage: _relocate_id_col_to_run_col(compare_data) and returns: unknown, list