code: def _get_freq_df(self, X, label_append=" freq"):
      if self._use_non_text_features:
          return self._corpus._metadata_freq_df_from_matrix(
              X, label_append=label_append
          )
      else:
          return self._corpus._term_freq_df_from_matrix(
              X, label_append=label_append
          )
  
file_path: scattertext/scattertext/termranking/TermRanker.py
imports: from abc import ABCMeta, abstractmethod
  from scattertext import TermDocMatrix
label_desc: Use image node_id 6 for calling the TermRanker obj's underlying member method code with example usage: obj._get_freq_df(X, label_append) and returns: self, self