tabensemb.utils.ranking.merge_to_excel#
- tabensemb.utils.ranking.merge_to_excel(path: PathLike | str, dfs: List[DataFrame], avg_df: DataFrame, sheet_names: List[str] | None = None, **kwargs)[source]#
Write leaderboards from multiple executions and the leaderboard of average ranking of multiple executions to a .xlsx file.
- Parameters:
- path
The path to write the .xlsx file.
- dfs
Leaderboards from multiple executions.
- avg_df
The leaderboard of average ranking of multiple executions. See
avg_rank().- sheet_names
Names of
dfsandavg_df.- kwargs
Arguments for
pd.DataFrame.to_excel.