code: def testGetDatasetsProtoSequenceExampleHistogram(self):
      entries = {}
      entries["testFeature"] = {
          "vals": [1, 2, 2, 3],
          "counts": [1, 2, 1],
          "feat_lens": [1, 2, 1],
          "missing": 0,
          "type": self.gfsg.fs_proto.INT,
      }
      datasets = [
          {"entries": entries, "size": 3, "name": "testDataset"}
      ]
      p = self.gfsg.GetDatasetsProto(datasets)
      hist = (
          p.datasets[0]
          .features[0]
          .num_stats.common_stats.feature_list_length_histogram
      )
      buckets = hist.buckets
      self.assertEqual(self.gfsg.histogram_proto.QUANTILES, hist.type)
      self.assertEqual(10, len(buckets))
      self.assertEqual(1, buckets[0].low_value)
      self.assertEqual(1, buckets[0].high_value)
      self.assertEqual(0.3, buckets[0].sample_count)
      self.assertEqual(1.8, buckets[9].low_value)
      self.assertEqual(2, buckets[9].high_value)
      self.assertEqual(0.3, buckets[9].sample_count)
  
file_path: facets/facets_overview/python/generic_feature_statistics_generator_test.py
imports: from generic_feature_statistics_generator import GenericFeatureStatisticsGenerator
  import numpy
  import pandas
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the GenericFeatureStatisticsGeneratorTest obj's underlying member method code with example usage: obj.testGetDatasetsProtoSequenceExampleHistogram() without return types