get_data_for_algo#

pepbench.data_handling.get_data_for_algo(results_per_sample: DataFrame, algo_combi: str_t) DataFrame[source]#

Extract the data for a specific algorithm combination from the results-per-sample dataframe.

Parameters:
results_per_samplepandas.DataFrame

The results-per-sample dataframe.

algo_combistr or tuple of str

The algorithm combination for which the data should be extracted.

Returns:
pandas.DataFrame

The data for the specified algorithm combination.

Raises:
TypeError

If the input data is not a pandas.DataFrame.