code: def norm_dist(dist):
      """Normalizes a Categorical probability distribution (or set of them) assuming sufficient statistics are stored in leading dimension"""
      return np.divide(dist, dist.sum(axis=0))
  
imports: import numpy
  import pandas
  import seaborn
  import matplotlib.pyplot
  import warnings
  import itertools
label_desc: Use image node_id 17 for calling a global function with example usage: norm_dist(dist) and returns: np