Expect the column values to be less than or equal to the maximum value of the respective column within the DataProfiler report.
expect_column_values_to_be_equal_to_or_less_than_profile_max
This expectation level is EXPERIMENTAL
Contributors:
Tags:
Metrics:
Description
Expect the column values to be less than or equal to the maximum value of the respective column within the DataProfiler report.
This function builds upon the custom column map expectations of Great Expectations. This function asks a yes/no question of each row in the user-specified column;
namely, is the value less than or equal to the maximum value of the respective column within the provided profile report generated from the DataProfiler.
Args:
- column(str): The column that you want to check.
- profile(dict(str, Any)): The report, which is assumed to contain a column of the same name, previously generated using the DataProfiler.
df.expect_column_values_to_be_equal_to_or_less_than_profile_max(
column,
profile
)
Want to make your own Expectation or an improvement to this one?
We've put together some great how to guides (including videos) on how to create your own expectations in a flash!
You can see those resources here: Contributor Resources