openclean.function.eval.null module
Predicates that test whether a given value (or list of values) is empty. A value is defined as empty if it is None or the empty string.
- class openclean.function.eval.null.IsEmpty(columns, ignore_whitespace=False)
Bases:
openclean.function.eval.base.Eval
Boolean predicate that tests whether a given value or list of values extracted from data frame cplumns is None or the empty string.
For any value that is not a string and not None the result should always be False.
- class openclean.function.eval.null.IsNotEmpty(columns, ignore_whitespace=False)
Bases:
openclean.function.eval.base.Eval
Boolean predicate that tests whether a given value or list of values from cells in a data frame row are not None or the empty string.
For any value that is not a string and not None the result should always be True.