docstr: method : {'average', 'min', 'max', 'dense', 'ordinal'}, optional
docstr_tok: ["method",":","{","'average","'",",","'min","'",",","'max","'",",","'dense","'",",","'ordinal","'","}",",","optional"]
code: def _set_scorer_args(self, **kwargs):
      """
      method : {'average', 'min', 'max', 'dense', 'ordinal'}, optional
      """
      self.method = kwargs.get("method", "dense")
  
file_path: scattertext/scattertext/termscoring/RankDifferenceScorer.py
imports: import numpy
  import pandas
  from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer
  from scipy.stats import rankdata
label_desc: Use image node_id 1 for calling the RankDifferenceScorer obj's underlying member method code with example usage: obj._set_scorer_args() without return types