Commit e23b2c6
authored
fix(dashboard): keep numeric dtype so columns sort numerically (#46)
The summary table coerced metrics to formatted strings via f'{x:.2f}',
which made the Gradio DataFrame sort them lexicographically
(114.42, 1785.64, 181.58 …). Use pd.to_numeric(...).round(2) instead
so the underlying dtype stays numeric and sorting behaves as expected.
Fixes #241 parent ec6b67a commit e23b2c6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments