diff --git a/cdisc_rules_engine/check_operators/dataframe_operators.py b/cdisc_rules_engine/check_operators/dataframe_operators.py index 66d2d8fdf..1d38c2ec6 100644 --- a/cdisc_rules_engine/check_operators/dataframe_operators.py +++ b/cdisc_rules_engine/check_operators/dataframe_operators.py @@ -1467,7 +1467,7 @@ def present_on_multiple_rows_within(self, other_value: dict): target = other_value.get("target") min_count: int = other_value.get("comparator") or 1 group_by_column = other_value.get("within") - grouped = self.value.groupby([group_by_column, target]) + grouped = self.value.groupby([group_by_column, target], dropna=False) meta = (target, bool) results = grouped.apply( lambda x: self.validate_series_length(x, target, min_count), meta=meta