src/estimagic/dashboard/dashboard_app.py
def _map_group_to_other_column(params, column_name):
    """Map the group name to lists of one column's values of the group's parameters.

    Args:
        params (pd.DataFrame): Includes the "group" and "id" columns.
        column_name (str): name of the column for which to return the parameter values.

    Returns:
        group_to_values (dict): Keys are the values of the "group" column.
            The values are lists of parameter values of the parameters belonging
            to the particular group.

    """
    to_plot = params[~params["group"].isin([None, False, np.nan, ""])]
    group_to_indices = to_plot.groupby("group").groups
    group_to_values = {}
    for group, loc in group_to_indices.items():
        group_to_values[group] = to_plot[column_name].loc[loc].tolist()
    return group_to_values
Map the group name to lists of one column's values of the group's parameters.

    Args:
        params (pd.DataFrame): Includes the "group" and "id" columns.
        column_name (str): name of the column for which to return the parameter values.

    Returns:
        group_to_values (dict): Keys are the values of the "group" column.
            The values are lists of parameter values of the parameters belonging
            to the particular group.

    
Map the group name to lists of one column's values of the group's parameters.
Map the group name to lists of one column ' s values of the group ' s parameters .
def _map_group_to_other_column(params, column_name):
    to_plot = params[~params["group"].isin([None, False, np.nan, ""])]
    group_to_indices = to_plot.groupby("group").groups
    group_to_values = {}
    for group, loc in group_to_indices.items():
        group_to_values[group] = to_plot[column_name].loc[loc].tolist()
    return group_to_values
def _map_group_to_other_column ( params , column_name ) : to_plot = params [ ~ params [ "group" ] . isin ( [ None , False , np . nan , "" ] ) ] group_to_indices = to_plot . groupby ( "group" ) . groups group_to_values = { } for group , loc in group_to_indices . items ( ) : group_to_values [ group ] = to_plot [ column_name ] . loc [ loc ] . tolist ( ) return group_to_values
Map the group name to lists of one column's values of the group's parameters.
Map the group name to lists of one column ' s values of the group ' s parameters .
"""Map the group name to lists of one column's values of the group's parameters.

    Args:
        params (pd.DataFrame): Includes the "group" and "id" columns.
        column_name (str): name of the column for which to return the parameter values.

    Returns:
        group_to_values (dict): Keys are the values of the "group" column.
            The values are lists of parameter values of the parameters belonging
            to the particular group.

    """
group_to_values (dict): Keys are the values of the "group" column.
The values are lists of parameter values of the parameters belonging
to the particular group.
group_to_values ( dict ) : Keys are the values of the " group " column . The values are lists of parameter values of the parameters belonging to the particular group .
params
Includes the "group" and "id" columns.
Includes the " group " and " id " columns .
column_name
name of the column for which to return the parameter values.
name of the column for which to return the parameter values .