docstr: :param term_doc_matrix: TermDocMatrix
  :return: int
docstr_tok: [":","param","term_doc_matrix",":","TermDocMatrix",":","return",":","int"]
code: def get_max_rank(self, term_doc_matrix) -> float:
      """
  
      :param term_doc_matrix: TermDocMatrix
      :return: int
      """
      rank_df = self.get_rank_df(term_doc_matrix)
      return rank_df.max().max()
  
imports: from typing import Optional, Tuple
  import pandas
  import numpy
  from scattertext.termscoring.CorpusBasedTermScorer import CorpusBasedTermScorer
  from scipy.stats import rankdata
  from scattertext.termranking.AbsoluteFrequencyRanker import AbsoluteFrequencyRanker
  from scattertext.termscoring.ScaledFScore import ScaledFScorePresetsNeg1To1
label_desc: Use image node_id 7 for calling the TermCategoryRanker obj's underlying member method code with example usage: obj.get_max_rank(term_doc_matrix) and returns: rank_df