lux.processor.Validator.Validator

class lux.processor.Validator.Validator[source]

Contains methods for validating lux.Clause objects in the intent.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__() Initialize self.
validate_intent(intent, ldf) Validates input specifications from the user to find inconsistencies and errors.
static validate_intent(intent: List[lux.vis.Clause.Clause], ldf: lux.core.frame.LuxDataFrame) → None[source]

Validates input specifications from the user to find inconsistencies and errors.

Parameters:ldf (lux.core.frame) – LuxDataFrame with underspecified intent.
Returns:
Return type:None
Raises:ValueError – Ensures input intent are consistent with DataFrame content.