ONSdigital/csvcubed

Validate missing observation values

Opened this issue · 0 comments

Amend the _validate_missing_observation_values function to check for obs val columns with no associated obs status defined against them. If any such obs values exist, raise a Validation Error.

df[df[obs_val].isna() & df[obs_status_for_obs_val].isna()].size