in spotify_confidence/analysis/confidence_utils.py [0:0]
def get_remaning_groups(all_groups: Iterable, some_groups: Iterable) -> Iterable:
if some_groups is None:
remaining_groups = all_groups
else:
remaining_groups = [group for group in all_groups if group not in some_groups and group is not None]
return remaining_groups