code: def get_consistent_numpy_entries(
      hist_list, get_bin_labels: bool = False
  ):
      """Get list of consistent numpy bin_entries for list of 1d input histograms
  
      Works for categorize, sparse and bin histograms.
      Note: for sparse histograms, *only* the filled bins are picked up.
      (this is not the case when calling get_consistent_numpy_1dhists(), which takes all bins b/n low and high.)
  
      :param list hist_list: list of input histogrammar histograms
      :return: list of consistent 1d numpy arrays with bin_entries for list of input histograms
      """
      # --- basic checks
      if len(hist_list) == 0:
          raise ValueError("Input histogram list has zero length.")
      assert_similar_hists(hist_list)
  
      # datatype check
      v0 = is_numeric(hist_list[0])
      constant = all(is_numeric(hist) == v0 for hist in hist_list[1:])
      all_num = constant and v0
      all_cat = constant and not v0
      if not (all_num or all_cat):
          raise TypeError(
              "Input histograms are mixture of Bin/SparselyBin and Categorize types."
          )
  
      # union of all labels encountered
      labels = set()
      for hist in hist_list:
          bin_labels = get_bin_centers(hist)[0]
          labels = labels.union(bin_labels)
      labels = sorted(labels)
  
      # collect list of consistent bin_entries
      if all_num:
          kwargs = {"xvalues": labels}
      else:
          # PATCH: deal with boolean labels, which get bin_labels() returns as strings
          cat_labels = labels
          props = get_hist_props(hist_list[0])
          if props["is_bool"]:
              cat_labels = [lab == "True" for lab in cat_labels]
          kwargs = {"labels": cat_labels}
  
      entries_list = [hist.bin_entries(**kwargs) for hist in hist_list]
  
      if get_bin_labels:
          return entries_list, labels
      else:
          return entries_list
  
imports: from __future__ import annotations
  import warnings
  import histogrammar
  import numpy
  from histogrammar.util import get_hist_props
  from popmon.hist.hist_utils import get_bin_centers, is_numeric
  from popmon.stats.numpy import quantile
label_desc: Use image node_id 10 for calling a global function with example usage: get_consistent_numpy_entries(hist_list, get_bin_labels) and returns: entries_list,  labels, entries_list