tfdv.visualize_statistics

tfdv.visualize_statistics(
    lhs_statistics,
    rhs_statistics=None,
    lhs_name='lhs_statistics',
    rhs_name='rhs_statistics'
)

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 of the lhs_statistics dataset.
  • rhs_name: Name of the rhs_statistics dataset.

Raises:

  • TypeError: If the input argument is not of the expected type.
  • ValueError: If the input statistics protos does not have only one dataset.