Skip to main content
Version: 0.16.16

TableMetricProvider

class great_expectations.expectations.metrics.table_metric_provider.TableMetricProvider#

Base class for all Table Metrics, which define metrics to be calculated across a complete table.

An example of this is table.column.unique, which verifies that a table contains unique, non-duplicate columns.

Parameters
  • metric_name (str) – A name identifying the metric. Metric Name must be globally unique in a great_expectations installation.

  • domain_keys (tuple) – A tuple of the keys used to determine the domain of the metric.

  • value_keys (tuple) – A tuple of the keys used to determine the value of the metric.

In some cases, subclasses of MetricProvider, such as TableMetricProvider, will already have correct values that may simply be inherited by Metric classes.

-Relevant Documentation Links -