code: def _get_histograms(self) -> hist.DatasetHistograms:
      # Generate dataset
      dataset = []
      # 1st privacy unit contributes to 10 partitions once
      dataset.extend([(1, i, 1.0) for i in range(10)])
      # 2nd privacy unit contributes to 1 partition 20 times.
      dataset.extend([(2, 0, 2.0) for i in range(20)])
  
      data_extractors = pipeline_dp.DataExtractors(
          privacy_id_extractor=lambda x: x[0],
          partition_extractor=lambda x: x[1],
          value_extractor=lambda x: x[2],
      )
      return list(
          computing_histograms.compute_dataset_histograms(
              dataset, data_extractors, pipeline_dp.LocalBackend()
          )
      )[0]
  
file_path: pipelinedp/tests/dataset_histograms/histogram_error_estimator_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import pipeline_dp
  from pipeline_dp.dataset_histograms import histograms
  from pipeline_dp.dataset_histograms import computing_histograms
  from pipeline_dp.dataset_histograms import histogram_error_estimator
label_desc: Use image node_id 1 for calling the HistogramErrorEstimatorTest obj's underlying member method code with example usage: obj._get_histograms() and returns: list