benchmark/analysis.py
def split_and_plot(names: List[str], dfs: Dict[str, pd.DataFrame], pred, title=None, to_print='both'):
    """
    Split dataframes from given names w.r.t. split predicate and plot them.
    :param names: A list of algorithms names.
    :param dfs: A dictionary of dataframes.
    :param pred: A predicate over df benchmark row.
    :param title: The plot title.
    """
    d1, d2 = {}, {}
    for i in range(len(names)):
        name = names[i]
        df1, df2 = split_df(dfs[name], pred=pred)
        d1 = {**d1, **{name: df1}}

    names_to_plot(names, d1, title=title)

    Split dataframes from given names w.r.t. split predicate and plot them.
    :param names: A list of algorithms names.
    :param dfs: A dictionary of dataframes.
    :param pred: A predicate over df benchmark row.
    :param title: The plot title.
    
Split dataframes from given names w.r.t. split predicate and plot them.
Split dataframes from given names w . r . t . split predicate and plot them .
def split_and_plot(names: List[str], dfs: Dict[str, pd.DataFrame], pred, title=None, to_print='both'):
    d1, d2 = {}, {}
    for i in range(len(names)):
        name = names[i]
        df1, df2 = split_df(dfs[name], pred=pred)
        d1 = {**d1, **{name: df1}}
    names_to_plot(names, d1, title=title)
def split_and_plot ( names : List [ str ] , dfs : Dict [ str , pd . DataFrame ] , pred , title = None , to_print = 'both' ) : d1 , d2 = { } , { } for i in range ( len ( names ) ) : name = names [ i ] df1 , df2 = split_df ( dfs [ name ] , pred = pred ) d1 = { ** d1 , ** { name : df1 } } names_to_plot ( names , d1 , title = title )
Split dataframes from given names w.r.t.
Split dataframes from given names w . r . t .
"""
    Split dataframes from given names w.r.t. split predicate and plot them.
    :param names: A list of algorithms names.
    :param dfs: A dictionary of dataframes.
    :param pred: A predicate over df benchmark row.
    :param title: The plot title.
    """
names
List[str]
A list of algorithms names.
A list of algorithms names .
dfs
Dict[str, pd.DataFrame]
A dictionary of dataframes.
A dictionary of dataframes .
pred
A predicate over df benchmark row.
A predicate over df benchmark row .
title
The plot title.
The plot title .
to_print