benchopt.results.process.merge

Contents


benchopt.results.process.merge#

benchopt.results.process.merge(result_filenames, keep='last', output=None)#

Merge result files of a benchmark

Parameters:
result_filenames: list of str | Path

List of parquet files to merge

keep: str

Must be “last” or “all”. When merged files contain multiple times the same configuration, controls whether to keep all the lines or only keep the last result per configuration.

output: str | Path

Path of the new parquet file