code: def make_dataset_feature_stats_proto_unique_single(
      feature_path_tuple: types.FeaturePathTuple,
      num_uniques: int,
  ) -> statistics_pb2.DatasetFeatureStatistics:
      """Makes a DatasetFeatureStatistics proto with uniques stats for a feature."""
      feature_path = types.FeaturePath(feature_path_tuple)
      result = statistics_pb2.DatasetFeatureStatistics()
      result.features.add().CopyFrom(
          _make_feature_stats_proto_uniques(feature_path, num_uniques)
      )
      return result
  
file_path: data-validation/tensorflow_data_validation/utils/top_k_uniques_stats_util.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import List, Mapping, Optional, Union
  import apache_beam
  import six
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils import stats_util
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
  from tfx_bsl.types import tfx_namedtuple
label_desc: Use image node_id 3 for calling a global function with example usage: make_dataset_feature_stats_proto_unique_single(feature_path_tuple, num_uniques) and returns: result