Definition

The column average test allows you to assert that the mean of a column is within a certain range.

Taxonomy

  • Category: Integrity.
  • Task types: LLM, tabular classification, tabular regression, text classification.
  • Availability: and .

Why it matters

  • If you are tracking quantities such as latency or cost (e.g. per LLM request), you can use the column average test to assert these quantities are within the expected range.
  • Some features may have a known average value, and you can use the column average test to assert that it is within the expected range.
  • Great Expectations test with expectations such as expect_column_mean_to_be_between, expect_column_median_to_be_between, etc.