Added
- New class of Error NotEnoughRowsError added to better flag runtime errors.
- Added checks to mp_value_score which ensure grouped dataframe groups have at least 3 rows required for calculations.
- In mp_value_score, groups with < 3 rows may be ignored by calling the function with raise_error_for_low_count_groups = False, in which case np.nan values will be returned for the group.
Changed
- Improved tests for mp_value_score, checking for correct behaviour within small groups with <3 rows.