code: def _get_histogram_dataframe(
      histogram: statistics_pb2.Histogram,
  ) -> pd.DataFrame:
      """Gets the `Histogram` as a pandas.DataFrame."""
      return pd.DataFrame.from_dict(
          {
              "high_values": [b.high_value for b in histogram.buckets],
              "low_values": [b.low_value for b in histogram.buckets],
              "sample_counts": [
                  b.sample_count for b in histogram.buckets
              ],
          }
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import base64
  import collections
  import sys
  from typing import Dict, Iterable, List, Optional, Text, Tuple, Union
  import pandas
  from tensorflow_data_validation import types
  from tensorflow_data_validation.skew.protos import feature_skew_results_pb2
  from tensorflow_data_validation.utils import stats_util
  from tensorflow_metadata.proto.v0 import anomalies_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 16 for calling a global function with example usage: _get_histogram_dataframe(histogram) and returns: pd