code: def visualize_statistics(
      lhs_statistics: statistics_pb2.DatasetFeatureStatisticsList,
      rhs_statistics: Optional[
          statistics_pb2.DatasetFeatureStatisticsList
      ] = None,
      lhs_name: Text = "lhs_statistics",
      rhs_name: Text = "rhs_statistics",
      allowlist_features: Optional[List[types.FeaturePath]] = None,
      denylist_features: Optional[List[types.FeaturePath]] = None,
  ) -> None:
      """Visualize the input statistics using Facets.
  
      Args:
        lhs_statistics: A DatasetFeatureStatisticsList protocol buffer.
        rhs_statistics: An optional DatasetFeatureStatisticsList protocol buffer to
          compare with lhs_statistics.
        lhs_name: Name to use for the lhs_statistics dataset if a name is not
          already provided within the protocol buffer.
        rhs_name: Name to use for the rhs_statistics dataset if a name is not
          already provided within the protocol buffer.
        allowlist_features: Set of features to be visualized.
        denylist_features: Set of features to ignore for visualization.
  
      Raises:
        TypeError: If the input argument is not of the expected type.
        ValueError: If the input statistics protos does not have only one dataset.
      """
      assert (
          not allowlist_features or not denylist_features
      ), "Only specify one of allowlist_features and denylist_features."
      html = get_statistics_html(
          lhs_statistics,
          rhs_statistics,
          lhs_name,
          rhs_name,
          allowlist_features,
          denylist_features,
      )
      display(HTML(html))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import base64
  import collections
  import sys
  from typing import Dict, Iterable, List, Optional, Text, Tuple, Union
  import pandas
  from tensorflow_data_validation import types
  from tensorflow_data_validation.skew.protos import feature_skew_results_pb2
  from tensorflow_data_validation.utils import stats_util
  from tensorflow_metadata.proto.v0 import anomalies_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_metadata.proto.v0 import statistics_pb2
label_desc: Use image node_id 11 for calling a global function with example usage: visualize_statistics(lhs_statistics, rhs_statistics, lhs_name, rhs_name, allowlist_features, denylist_features) without return types