Null Validation
ColumnBeNull
Check if the values in a column are null.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
column
|
str
|
Column to validate. |
required |
threshold
|
float
|
Threshold for validation. Defaults to 0.0. |
required |
impact
|
Literal['low', 'medium', 'high']
|
Impact level of validation. Defaults to "low". |
required |
kwargs
|
KwargsType (dict): Additional keyword arguments. |
required |
Source code in validoopsie/validation_catalogue/NullValidation/column_be_null.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
ColumnNotBeNull
Check if the values in a column are not null.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
column
|
str
|
Column to validate. |
required |
threshold
|
float
|
Threshold for validation. Defaults to 0.0. |
required |
impact
|
Literal['low', 'medium', 'high']
|
Impact level of validation. Defaults to "low". |
required |
kwargs
|
KwargsType (dict): Additional keyword arguments. |
required |
Source code in validoopsie/validation_catalogue/NullValidation/column_not_be_null.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|