From a8f737423bb1e843d7228ff57aefee8cd42b5958 Mon Sep 17 00:00:00 2001 From: kuangjianjun Date: Thu, 5 Feb 2026 14:54:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E8=A1=8C=E4=B9=9F=E8=BE=93=E5=87=BAdh?= =?UTF-8?q?m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- predict_with_excel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/predict_with_excel.py b/predict_with_excel.py index 13ec5b6..3789097 100644 --- a/predict_with_excel.py +++ b/predict_with_excel.py @@ -379,6 +379,8 @@ def build_prediction_dataframe(df: pd.DataFrame) -> pd.DataFrame: total_minutes = df_without_last["焊接工时"].sum() total_row["焊接工时"] = minutes_to_dhm_format(total_minutes) + df_without_last["焊接工时"] = df_without_last["焊接工时"].apply(minutes_to_dhm_format) + result_df = pd.concat([df_without_last, pd.DataFrame([total_row])], ignore_index=True) return result_df