code: def _analyze(self, doc):
      text_df = (
          pd.DataFrame(pd.Series(self._get_terms_from_doc(doc)))
          .join(self._lexicon_df)
          .dropna()
          .groupby("cat")
          .sum()
      )
      return text_df
  
imports: from abc import ABC, abstractmethod
  from collections import Counter
  from functools import reduce
  from re import split
  from sys import version_info
  import pandas
  from flashtext import KeywordProcessor
  from scattertext.ScatterChart import check_topic_model_string_format
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
label_desc: Use image node_id 3 for calling the FeatsFromTopicModelBase obj's underlying member method code with example usage: obj._analyze(doc) and returns: text_df