Skip to main content
Version: 0.18.17

ColumnAggregateMetricProvider

class great_expectations.expectations.metrics.ColumnAggregateMetricProvider#

Base class for all Column Aggregate Metrics, which define metrics to be calculated in aggregate from a given column.

An example of this is column.mean, which returns the mean of a given column.

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 ColumnAggregateMetricProvider, will already have correct values that may simply be inherited by Metric classes.

-Relevant Documentation Links -