code: def _dense_rank_difference(self, a, b):
      a_ranks = rankdata(a, self.method)
      b_ranks = rankdata(b, self.method)
      to_ret = (a_ranks / np.max(a_ranks)) - (b_ranks / np.max(b_ranks))
      return to_ret
  
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 3 for calling the RankDifferenceScorer obj's underlying member method code with example usage: obj._dense_rank_difference(a, b) and returns: to_ret