code: def get_theil_t_index(benefits: np.array) -> float:
      """
      Returns Theil T Index, a measure of income inequality that is more
      sensitive to differences at the top of the distribution.
      https://en.wikipedia.org/wiki/Theil_index
  
      :param benefits: The probabilities of each feature value combination
          occurring in the data.
      :type benefits: np.array
      :return: The Theil T Index.
      :rtype: float
      """
      return _get_generalized_entropy_index(
          benefits=benefits, alpha=1.0, use_abs_val=True
      )
  
file_path: responsible-ai-toolbox/responsibleai/responsibleai/databalanceanalysis/aggregate_balance_measures.py
imports: from typing import Callable, Dict, List
  import numpy
  import pandas
  from responsibleai.databalanceanalysis.balance_measures import BalanceMeasures
  from responsibleai.databalanceanalysis.constants import Measures
label_desc: Use image node_id 3 for calling a global function with example usage: get_theil_t_index(benefits) and returns: _get_generalized_entropy_index