更新 html的解析中 对于 cell 的解析,excel的处理中对于cell 的解析。以及温度处理中 对于 数据的处理增加 时间戳的换算。

This commit is contained in:
2026-04-04 21:40:28 +08:00
parent 4e4d132066
commit efddb997e2
3 changed files with 133 additions and 24 deletions

View File

@@ -977,7 +977,7 @@ class MultiFileTestReportScatterPlotter:
print(f"警告:发现 {failed_conversions}'Cell' 值无法转换为数字,这些条目将保留为字符串或根据业务逻辑处理。")
# 业务决策:对于无法转换的,可以保留原字符串,或使用一个默认值
# 例如,将无法转换的条目其数值编号设为-1或一个特定的标识值
# test_data.loc[test_data['Cell编号_数值'].isna(), 'Cell编号_数值'] = -1
test_data.loc[test_data['Cell编号_数值'].isna(), 'Cell编号_数值'] = -1
# 此时,您可以根据需求选择使用 'Cell编号'(字符串)或 'Cell编号_数值'(数字)进行后续分组和可视化
# 对于绘图着色和排序,使用 'Cell编号_数值' 列