This commit is contained in:
512song committed 2025-02-23 18:18:10 +08:00
1 parent adfaa3c638
commit 82acaa07a8
2 files changed
+468 -30

No files matched your search

+28 -28
View File
@@ -10,15 +10,15 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 1,
"id": "3d5ddc7a-a331-438d-aa8d-1ad74c7250d0",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-16T15:21:01.891534Z",
"iopub.status.busy": "2025-02-16T15:21:01.890870Z",
"iopub.status.idle": "2025-02-16T15:21:01.912369Z",
"shell.execute_reply": "2025-02-16T15:21:01.911830Z",
"shell.execute_reply.started": "2025-02-16T15:21:01.891472Z"
"iopub.execute_input": "2025-02-23T10:13:29.334391Z",
"iopub.status.busy": "2025-02-23T10:13:29.333636Z",
"iopub.status.idle": "2025-02-23T10:13:29.512654Z",
"shell.execute_reply": "2025-02-23T10:13:29.511636Z",
"shell.execute_reply.started": "2025-02-23T10:13:29.334322Z"
}
},
"outputs": [
@@ -65,15 +65,15 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 2,
"id": "72ec680f-ec0d-44f9-919c-17c8e614b885",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-16T15:25:46.643327Z",
"iopub.status.busy": "2025-02-16T15:25:46.642655Z",
"iopub.status.idle": "2025-02-16T15:25:46.658469Z",
"shell.execute_reply": "2025-02-16T15:25:46.657469Z",
"shell.execute_reply.started": "2025-02-16T15:25:46.643266Z"
"iopub.execute_input": "2025-02-23T10:13:35.977412Z",
"iopub.status.busy": "2025-02-23T10:13:35.976513Z",
"iopub.status.idle": "2025-02-23T10:13:35.998305Z",
"shell.execute_reply": "2025-02-23T10:13:35.997869Z",
"shell.execute_reply.started": "2025-02-23T10:13:35.977335Z"
}
},
"outputs": [
@@ -81,7 +81,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"28\n"
"113\n"
]
}
],
@@ -98,7 +98,7 @@
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"\n",
"filename = 'data/marks_20250216.csv'\n",
"filename = 'data/marks_20250223.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -149,15 +149,15 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 3,
"id": "8f459ed3-fc14-404f-998b-5ed2a15958c3",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-16T15:26:06.721842Z",
"iopub.status.busy": "2025-02-16T15:26:06.721214Z",
"iopub.status.idle": "2025-02-16T15:26:06.738331Z",
"shell.execute_reply": "2025-02-16T15:26:06.737149Z",
"shell.execute_reply.started": "2025-02-16T15:26:06.721782Z"
"iopub.execute_input": "2025-02-23T10:13:40.888693Z",
"iopub.status.busy": "2025-02-23T10:13:40.887898Z",
"iopub.status.idle": "2025-02-23T10:13:40.910971Z",
"shell.execute_reply": "2025-02-23T10:13:40.910112Z",
"shell.execute_reply.started": "2025-02-23T10:13:40.888581Z"
}
},
"outputs": [
@@ -370,15 +370,15 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 5,
"id": "f44c57ed-aac8-481a-9126-0dadcbe0190c",
"metadata": {
"execution": {
"iopub.execute_input": "2025-02-16T15:36:05.627841Z",
"iopub.status.busy": "2025-02-16T15:36:05.627122Z",
"iopub.status.idle": "2025-02-16T15:36:05.655606Z",
"shell.execute_reply": "2025-02-16T15:36:05.655044Z",
"shell.execute_reply.started": "2025-02-16T15:36:05.627774Z"
"iopub.execute_input": "2025-02-23T10:14:06.379557Z",
"iopub.status.busy": "2025-02-23T10:14:06.379298Z",
"iopub.status.idle": "2025-02-23T10:14:06.424726Z",
"shell.execute_reply": "2025-02-23T10:14:06.424184Z",
"shell.execute_reply.started": "2025-02-23T10:14:06.379536Z"
}
},
"outputs": [
@@ -396,7 +396,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_延庆人员.json'\n",
"with open(filename,'r') as fl:\n",
@@ -432,7 +432,7 @@
" list2.append('') \n",
" if i>2:\n",
" list1.append(list2)\n",
"filename = 'data/延庆体测情况表250216.xlsx'\n",
"filename = 'data/延庆体测情况表250223.xlsx'\n",
"wb = openpyxl.Workbook()\n",
"sheet = wb.active\n",
"sheet.append(title)\n",