numeraire.validate_result#
- numeraire.validate_result(df: DataFrame) None[source]#
Raise
ValueErrorifdfviolates the result schema.Enforces that every column in
RESULT_COLUMNSis present; extra columns are allowed. When the optionalATTRITION_COLUMNSare present, every non-null cell must be a finite, non-negative, integer-valued numeric (a count); non-numeric cells are rejected rather than coerced away. The columns themselves are never required.