geost.validation.validate.ValidationResult.add#
- ValidationResult.add(column: str, error_message: str, affected_nrs: list, affected_indices: Index)[source]#
Add a validation error to the result.
- Parameters:
column (str) – The name of the column where the error occurred.
error_message (str) – The error message describing the validation issue.
affected_nrs (list) – The list of affected survey numbers.
affected_indices (pd.Index) – The indices of the affected rows in the DataFrame.