code: def _bucket(low, high, sample) -> statistics_pb2.Histogram.Bucket:
      return statistics_pb2.Histogram.Bucket(
          low_value=low, high_value=high, sample_count=sample
      )
  
imports: from typing import List
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_data_validation.utils import quantiles_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: _bucket(low, high, sample) and returns: statistics_pb2