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_sample
pandas.DataFrame The results-per-sample dataframe.
- algo_combistr or tuple of str
The algorithm combination for which the data should be extracted.
- results_per_sample
- Returns:
pandas.DataFrameThe data for the specified algorithm combination.
- Raises:
- TypeError
If the input data is not a
pandas.DataFrame.