diff --git a/projects/cf07f710-3f8d-4669-817e-987ed511133d/占比列要逐格设置百分比格式.md b/projects/cf07f710-3f8d-4669-817e-987ed511133d/占比列要逐格设置百分比格式.md new file mode 100644 index 0000000..8864216 --- /dev/null +++ b/projects/cf07f710-3f8d-4669-817e-987ed511133d/占比列要逐格设置百分比格式.md @@ -0,0 +1,19 @@ +--- +title: 占比列要逐格设置百分比格式 +type: experience +permalink: main/projects/cf07f710-3f8d-4669-817e-987ed511133d/占比列要逐格设置百分比格式 +stable_id: 46b6d724-73ab-4bd9-9c50-439be5fd548a +scope: project +memory_type: experience +project_id: cf07f710-3f8d-4669-817e-987ed511133d +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: aoisample-percent-format-20261113-1545 +created_at: '2026-11-13T07:45:38.625006+00:00' +updated_at: '2026-11-13T07:45:38.625006+00:00' +tags: +- AoiSample +--- + +AoiSample 写 Excel 占比时,openpyxl 的 iter_cols 每次返回一整列单元格。只给返回值的第一个单元格设 0.00% 会让每列只有第一行显示百分号。必须遍历该列全部单元格。修正后的结果是 Output/AoiSample/AOI-移动采样点占比_20261113154515.xlsx。 \ No newline at end of file