code: def __add_gmeans_to_coef_freq_df(
      self, coef_freq_df: pd.DataFrame
  ) -> pd.DataFrame:
      for cat in self.corpus_.get_categories():
          freq = Scalers.dense_rank(coef_freq_df[str(cat) + " freq"])
          coef = Scalers.scale_neg_1_to_1_with_zero_mean(
              coef_freq_df[str(cat) + " coef"]
          )
          coef_freq_df[str(cat) + " gmean"] = gmean(
              ([freq] * self.freq_weight_)
              + ([coef] * self.coef_weight_)
          )
      return coef_freq_df
  
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 3 for calling the AllCategoryScorerGMeanL2 obj's underlying member method code with example usage: obj.__add_gmeans_to_coef_freq_df(coef_freq_df) and returns: coef_freq_df