ci/eval-stats: sort output table by metric name
This commit is contained in:
@@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict:
|
|||||||
return metrics
|
return metrics
|
||||||
|
|
||||||
def dataframe_to_markdown(df: pd.DataFrame) -> str:
|
def dataframe_to_markdown(df: pd.DataFrame) -> str:
|
||||||
|
df = df.sort_values(by=df.columns[0], ascending=True)
|
||||||
markdown_lines = []
|
markdown_lines = []
|
||||||
|
|
||||||
# Header (get column names and format them)
|
# Header (get column names and format them)
|
||||||
|
|||||||
Reference in New Issue
Block a user