code: def get_rank_freq_df(self) -> pd.DataFrame:
      coef_freq_df = self.__coefs_to_coef_freq_df(
          coef_df=self.__get_coef_df()
      )
      coef_freq_df = self.__add_gmeans_to_coef_freq_df(coef_freq_df)
      data = []
      for cat in self.corpus_.get_categories():
          cat = str(cat)
          for term_rank, (term, row) in enumerate(
              coef_freq_df[[cat + " gmean", cat + " freq"]]
              .sort_values(by=cat + " gmean", ascending=False)
              .iterrows()
          ):
              data.append(
                  {
                      "Category": cat,
                      "Term": term,
                      "Rank": term_rank,
                      "Score": row[cat + " gmean"],
                      "Frequency": row[cat + " freq"],
                  }
              )
      return pd.DataFrame(data)
  
file_path: scattertext/scattertext/all_category_scorers/gmean_l2_freq_associator.py
imports: import pandas
  import numpy
  from scipy.stats import gmean
  from sklearn.feature_extraction.text import TfidfTransformer
  from sklearn.linear_model import LogisticRegression
  from scattertext import Scalers
  from scattertext.all_category_scorers.all_category_scorer import AllCategoryScorer
label_desc: Use image node_id 2 for calling the AllCategoryScorerGMeanL2 obj's underlying member method code with example usage: obj.get_rank_freq_df() and returns: pd