Row-wise Expectations

Is there anything that could be considered an expectation that checks columns row by row to determine whether each is a success or fail, or is it an “all or nothing” deal (like all rows need to pass or the whole thing is a fail)? Some specific examples being:

  • All values should be the same (looking for ones that are not the same as the most common/mode value)
  • Each category should have at least 200 observations in it
  • Something similar to the above, but operates with percentages than actual numbers

This documentation article has the list of currently implemented expectations:

All the expectations that start with “expect_column_values…” behave the way you are describing - they evaluate each value (row) of the column.