code: def _copy_with_no_features(
      statistics: statistics_pb2.DatasetFeatureStatistics,
  ) -> statistics_pb2.DatasetFeatureStatistics:
      """Return a copy of 'statistics' with no features or cross-features."""
      return statistics_pb2.DatasetFeatureStatistics(
          name=statistics.name,
          num_examples=statistics.num_examples,
          weighted_num_examples=statistics.weighted_num_examples,
      )
  
file_path: data-validation/tensorflow_data_validation/utils/feature_partition_util.py
imports: import collections
  from typing import Any, FrozenSet, Iterable, Mapping, Tuple, Union
  import apache_beam
  import farmhash
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 2 for calling a global function with example usage: _copy_with_no_features(statistics) and returns: statistics_pb2