code: def _reform_sframe(sf):
      sf_sending_data = sf.select_columns(
          [
              "__idx",
              "path",
              "target_label",
              "predicted_label",
              "confidence",
              "relative_confidence",
              "entropy",
          ]
      )
      sf_sending_data["image"] = sf["image"]
      sf_sending_data["probs"] = sf["probs"].astype(list)
      return list(sf_sending_data)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from ...visualization import _get_client_app_path
  import turicreate
  import subprocess
  import six
  from six.moves import _thread
  import json
  import base64
  import math
label_desc: Use image node_id 2 for calling a global function with example usage: _reform_sframe(sf) and returns: list