whylogs.core.constraints.factories.count_metrics
#
Module Contents#
Functions#
|
Checks that there are no missing values in the column. |
|
Number of elements in a column must be below given number. |
Number of null values must be below given number. |
|
Percentage of null values must be below given number. |
- whylogs.core.constraints.factories.count_metrics.no_missing_values(column_name: str) whylogs.core.constraints.metric_constraints.MetricConstraint #
Checks that there are no missing values in the column.
- Parameters
column_name (str) – Column the constraint is applied to
- Return type
whylogs.core.constraints.metric_constraints.MetricConstraint
- whylogs.core.constraints.factories.count_metrics.count_below_number(column_name: str, number: int) whylogs.core.constraints.metric_constraints.MetricConstraint #
Number of elements in a column must be below given number.
- Parameters
- Return type
whylogs.core.constraints.metric_constraints.MetricConstraint
- whylogs.core.constraints.factories.count_metrics.null_values_below_number(column_name: str, number: int) whylogs.core.constraints.metric_constraints.MetricConstraint #
Number of null values must be below given number.
- Parameters
- Return type
whylogs.core.constraints.metric_constraints.MetricConstraint
- whylogs.core.constraints.factories.count_metrics.null_percentage_below_number(column_name: str, number: float) whylogs.core.constraints.metric_constraints.MetricConstraint #
Percentage of null values must be below given number.
- Parameters
- Return type
whylogs.core.constraints.metric_constraints.MetricConstraint