code: def use_categories(self, categories):
      self.priors += self.term_ranker.get_ranks()[
          [str(c) + " freq" for c in categories]
      ].sum(axis=1)
      return self
  
imports: import pandas
  import numpy
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termsignificance.LogOddsRatioInformativeDirichletPiror import LogOddsRatioInformativeDirichletPrior
label_desc: Use image node_id 6 for calling the PriorFactory obj's underlying member method code with example usage: obj.use_categories(categories) and returns: self