class_docstr: Creates a dataframe containing the lineage assoociations of a SageMaker object.
docstr: Create a data frame containing lineage association information.
  
  Args:
      arn (str): The arn of the lineage entity of interest.
  
  Returns:
      DataFrame: A dataframe with association information.
docstr_tok: ["Create","a","data","frame","containing","lineage","association","information",".","Args",":","arn","(","str",")",":","The","arn","of","the","lineage","entity","of","interest",".","Returns",":","DataFrame",":","A","dataframe","with","association","information","."]
code: def _get_associations_dataframe(self, arn: str) -> DataFrame:
      """Create a data frame containing lineage association information.
  
      Args:
          arn (str): The arn of the lineage entity of interest.
  
      Returns:
          DataFrame: A dataframe with association information.
      """
      if arn is None:
          # no associations
          return None
  
      upstream_associations: Iterator[
          AssociationSummary
      ] = self._get_associations(dest_arn=arn)
      downstream_associations: Iterator[
          AssociationSummary
      ] = self._get_associations(src_arn=arn)
      inputs: list = list(
          map(
              self._convert_input_association_to_df_row,
              upstream_associations,
          )
      )
      outputs: list = list(
          map(
              self._convert_output_association_to_df_row,
              downstream_associations,
          )
      )
      df: DataFrame = pd.DataFrame(
          inputs + outputs,
          columns=[
              "Name/Source",
              "Direction",
              "Type",
              "Association Type",
              "Lineage Type",
          ],
      )
      return df
  
imports: from __future__ import absolute_import
  import logging
  from typing import Optional, Any, Iterator
  import pandas
  from pandas import DataFrame
  from sagemaker.lineage._api_types import AssociationSummary
  from sagemaker.lineage.association import Association
label_desc: Use image node_id 5 for calling the LineageTableVisualizer obj's underlying member method code with example usage: obj._get_associations_dataframe(arn) and returns: df, None