code: def _rerank_scores(self, scores):
      ranks = rankdata(scores, "dense")
      ranks = ranks / ranks.max()
      return ranks, 0.5
  
file_path: scattertext/scattertext/characteristic/DenseRankCharacteristicness.py
imports: import pandas
  from scipy.stats import rankdata
  from scattertext.Scalers import scale
  from scattertext.frequencyreaders.DefaultBackgroundFrequencies import DefaultBackgroundFrequencies
  from scattertext.termranking import AbsoluteFrequencyRanker
  from scattertext.termscoring.RankDifference import RankDifference
label_desc: Use image node_id 3 for calling the CharacteristicScorer obj's underlying member method code with example usage: obj._rerank_scores(scores) and returns: ranks,  int