class_docstr: View of statistics for a dataset (slice).
class_docstr_tok: ["View","of","statistics","for","a","dataset","(","slice",")","."]
code: def __init__(
      self, stats_proto: statistics_pb2.DatasetFeatureStatistics
  ):
      self._feature_map = {}  # type: Dict[types.FeaturePath, int]
      self._cross_feature_map = (
          {}
      )  # type: Dict[Tuple[types.FeaturePath, types.FeaturePath], int]
      self._statistics = stats_proto
      self._initialized = False
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import logging
  from typing import Dict, Iterable, Optional, Sequence, Text, Tuple, Union
  import numpy
  import pyarrow
  import tensorflow
  from tensorflow_data_validation import constants
  from tensorflow_data_validation import types
  from tensorflow_data_validation.arrow import arrow_util
  from tensorflow_data_validation.utils import artifacts_io_impl
  from tensorflow_data_validation.utils import io_util
  from tfx_bsl import statistics
  from tfx_bsl.arrow import array_util
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 1 to create a new DatasetView object from inherited base classes: object with example: obj = DatasetView(stats_proto)