infineac.compare_results.aggregate_results#
- infineac.compare_results.aggregate_results(df: DataFrame, category_names: list[str] = ['intersection', 'union']) DataFrame[source]#
Aggregates the results of the given DataFrame df and returns a DataFrame with the count of the combinations of categories and strategies. It thus counts the number of times a category and a strategy appear together. The categories are given by the category_names.