mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
ci/eval-stats: sort output table by metric name
This commit is contained in:
parent
c8276114ac
commit
4f64ebd02b
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ def load_all_metrics(directory: Path) -> dict:
|
|||
return metrics
|
||||
|
||||
def dataframe_to_markdown(df: pd.DataFrame) -> str:
|
||||
df = df.sort_values(by=df.columns[0], ascending=True)
|
||||
markdown_lines = []
|
||||
|
||||
# Header (get column names and format them)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue