Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
DataAnalysis
Commits
10bb8437
"git@developer.sourcefind.cn:modelzoo/qwen3-omni_vllm.git" did not exist on "21c5b5da7fe1db87ef2df762dbafd5c33ee1d5f2"
Commit
10bb8437
authored
Mar 16, 2026
by
sharkgene@qq.com
Browse files
do exception for non-numeric
parent
30a01d1e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.plot_comparison.py.swp
.plot_comparison.py.swp
+0
-0
plot_comparison.py
plot_comparison.py
+5
-4
No files found.
.plot_comparison.py.swp
deleted
100644 → 0
View file @
30a01d1e
File deleted
plot_comparison.py
View file @
10bb8437
...
@@ -315,10 +315,11 @@ for idx, (_, dist_row) in enumerate(dist_combinations.iterrows()):
...
@@ -315,10 +315,11 @@ for idx, (_, dist_row) in enumerate(dist_combinations.iterrows()):
print
(
f
"[
{
idx
+
1
}
/
{
len
(
dist_combinations
)
}
] 生成图表:
{
output_filename
}
"
)
print
(
f
"[
{
idx
+
1
}
/
{
len
(
dist_combinations
)
}
] 生成图表:
{
output_filename
}
"
)
for
c
in
metric_cols
:
for
c
in
metric_cols
:
try
:
df_subset
[
c
]
=
pd
.
to_numeric
(
df_subset
[
c
],
errors
=
'coerce'
).
fillna
(
0
)
df_subset
[
c
]
=
df_subset
[
c
].
astype
(
'float64'
)
#try:
except
Exception
as
e
:
# df_subset[c] = df_subset[c].astype('float64')
print
(
f
"数据转换错误, 列名
{
c
}
, 错误信息
{
e
}
"
)
#except Exception as e:
# print(f"数据转换错误, 列名{c}, 错误信息{e}")
success
=
generate_chart
(
df_subset
,
output_path
,
colkey
,
outer_group
,
inner_group
,
metric_cols
,
args
.
合并分组
)
success
=
generate_chart
(
df_subset
,
output_path
,
colkey
,
outer_group
,
inner_group
,
metric_cols
,
args
.
合并分组
)
if
success
:
if
success
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment