class_docstr: Fetch trial component data and make them accessible for analytics.
docstr: Reshape trial component data to pandas columns.
  
  Args:
      trial_component: dict representing a trial component
  Returns:
      dict: Key-Value pair representing the data in the pandas dataframe
docstr_tok: ["Reshape","trial","component","data","to","pandas","columns",".","Args",":","trial_component",":","dict","representing","a","trial","component","Returns",":","dict",":","Key-Value","pair","representing","the","data","in","the","pandas","dataframe"]
code: def _reshape(self, trial_component):
      """Reshape trial component data to pandas columns.
  
      Args:
          trial_component: dict representing a trial component
      Returns:
          dict: Key-Value pair representing the data in the pandas dataframe
      """
      out = OrderedDict()
      for attribute in ["TrialComponentName", "DisplayName"]:
          out[attribute] = trial_component.get(attribute, "")
  
      source = trial_component.get("Source", "")
      if source:
          out["SourceArn"] = source["SourceArn"]
  
      out.update(
          self._reshape_parameters(
              trial_component.get("Parameters", [])
          )
      )
      out.update(
          self._reshape_metrics(trial_component.get("Metrics", []))
      )
      out.update(
          self._reshape_artifacts(
              trial_component.get("InputArtifacts", []),
              self._input_artifact_names,
          )
      )
      out.update(
          self._reshape_artifacts(
              trial_component.get("OutputArtifacts", []),
              self._output_artifact_names,
          )
      )
      out.update(
          self._reshape_parents(trial_component.get("Parents", []))
      )
      return out
  
imports: from __future__ import print_function, absolute_import
  from abc import ABCMeta, abstractmethod
  from collections import defaultdict, OrderedDict
  import datetime
  import logging
  from six import with_metaclass
  from sagemaker.session import Session
  from sagemaker.utils import DeferredError
  from sagemaker.lineage import artifact
label_desc: Use image node_id 9 for calling the ExperimentAnalytics obj's underlying member method code with example usage: obj._reshape(trial_component) and returns: out