code: def get_category_association(
      self, ranker: TermRanker = None, scorer=None
  ):
      if scorer is None:
          scorer = RankDifference()
      if ranker is None:
          ranker = AbsoluteFrequencyRanker(self.corpus)
      if self.use_metadata:
          ranker = ranker.use_non_text_features()
      data = []
      for cat in self.corpus.get_categories():
          scores = self.__get_scores(
              cat=cat, scorer=scorer, ranker=ranker
          )
          for term_rank, (term, score) in enumerate(
              scores.sort_values(ascending=False).items()
          ):
              data.append(
                  {
                      "Category": cat,
                      "Term": term,
                      "Rank": term_rank,
                      "Score": score,
                  }
              )
  
      return pd.DataFrame(data)
  
file_path: scattertext/scattertext/categorytable/multi_category_association_scorer.py
imports: import pandas
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termscoring.RankDifference import RankDifference
  from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer
  from scattertext.categorytable import MultiCategoryAssociationBase
  from scattertext.termranking.TermRanker import TermRanker
label_desc: Use image node_id 1 for calling the MultiCategoryAssociationScorer obj's underlying member method code with example usage: obj.get_category_association(ranker, scorer) and returns: pd