This commit is contained in:
512song committed 2024-10-21 21:56:27 +08:00
1 parent 1473d61c69
commit b62d5d2af0
4 files changed
+1391 -191

No files matched your search

+13 -12
View File
@@ -1193,24 +1193,24 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "696682cf-54c0-46d5-9947-d2bee794f555",
"cell_type": "markdown",
"id": "f13c93bc-dc11-455f-b90f-07ebabfb0d5a",
"metadata": {},
"outputs": [],
"source": []
"source": [
"## 导出带得分体测情况明细表"
]
},
{
"cell_type": "code",
"execution_count": 45,
"execution_count": 2,
"id": "5cb11459-4719-4cbf-9735-510436b8bd49",
"metadata": {
"execution": {
"iopub.execute_input": "2024-10-11T09:20:31.256635Z",
"iopub.status.busy": "2024-10-11T09:20:31.255869Z",
"iopub.status.idle": "2024-10-11T09:20:31.299121Z",
"shell.execute_reply": "2024-10-11T09:20:31.298616Z",
"shell.execute_reply.started": "2024-10-11T09:20:31.256566Z"
"iopub.execute_input": "2024-10-16T05:59:47.130519Z",
"iopub.status.busy": "2024-10-16T05:59:47.129808Z",
"iopub.status.idle": "2024-10-16T05:59:47.178226Z",
"shell.execute_reply": "2024-10-16T05:59:47.177645Z",
"shell.execute_reply.started": "2024-10-16T05:59:47.130453Z"
}
},
"outputs": [
@@ -1228,7 +1228,7 @@
"\n",
"items = ['lung','grip','flexion','jump','pushup','situp','balance','reaction','step']\n",
"bmi = ['height','weight']\n",
"title = ['编号','姓名','性别','单位/部门','身高','体重','bmi','肺活量','','握力','','坐位体前屈','','纵跳','','俯卧撑','','一分钟仰卧起坐','','单脚站立','','选择反应时','','台阶指数']\n",
"title = ['编号','姓名','性别','年龄','单位/部门','身高','体重','bmi','肺活量','','握力','','坐位体前屈','','纵跳','','俯卧撑','','一分钟仰卧起坐','','单脚站立','','选择反应时','','台阶指数']\n",
"\n",
"filename = 'data/result_东营工程设计院2024.json'\n",
"with open(filename,'r') as fl:\n",
@@ -1240,6 +1240,7 @@
" list2.append(str(k).rjust(5,'0'))\n",
" list2.append(dict1[k]['name']) \n",
" list2.append(dict1[k]['sex'])\n",
" list2.append(dict1[k]['age'])\n",
" list2.append(dict1[k]['unit'])\n",
" i = 0\n",
" if 'bmi' in dict1[k].keys():\n",