code: def estimate_entropy_of_probabilities(X: np.ndarray) -> float:
      """Estimates the entropy of each probability vector (row wise) in X separately and returns the mean over all
      results.
      """
      return float(np.mean(entropy(X, axis=1)))
  
file_path: dowhy/dowhy/gcm/uncertainty.py
imports: import numpy
  from numpy.linalg import det
  from scipy.special import digamma
  from scipy.stats import entropy
  from sklearn.neighbors import NearestNeighbors
  from dowhy.gcm.constant import EPS
  from dowhy.gcm.util.general import shape_into_2d
label_desc: Use image node_id 5 for calling a global function with example usage: estimate_entropy_of_probabilities(X) and returns: float