This commit is contained in:
512song committed 2025-04-11 09:52:34 +08:00
1 parent f6dd5f0da5
commit 906fe2f1bc
2 files changed
+675 -52

No files matched your search

+27 -27
View File
@@ -10,15 +10,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 1,
"id": "3d5ddc7a-a331-438d-aa8d-1ad74c7250d0", "id": "3d5ddc7a-a331-438d-aa8d-1ad74c7250d0",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-03-23T12:04:07.998224Z", "iopub.execute_input": "2025-04-09T03:38:07.218322Z",
"iopub.status.busy": "2025-03-23T12:04:07.997422Z", "iopub.status.busy": "2025-04-09T03:38:07.217596Z",
"iopub.status.idle": "2025-03-23T12:04:08.037664Z", "iopub.status.idle": "2025-04-09T03:38:07.413920Z",
"shell.execute_reply": "2025-03-23T12:04:08.037059Z", "shell.execute_reply": "2025-04-09T03:38:07.412923Z",
"shell.execute_reply.started": "2025-03-23T12:04:07.998155Z" "shell.execute_reply.started": "2025-04-09T03:38:07.218257Z"
} }
}, },
"outputs": [ "outputs": [
@@ -69,15 +69,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 2,
"id": "36aa14f9-cdfd-4ad4-a84e-9809c9db9958", "id": "36aa14f9-cdfd-4ad4-a84e-9809c9db9958",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-03-23T12:05:05.752592Z", "iopub.execute_input": "2025-04-09T03:38:22.152052Z",
"iopub.status.busy": "2025-03-23T12:05:05.751930Z", "iopub.status.busy": "2025-04-09T03:38:22.151189Z",
"iopub.status.idle": "2025-03-23T12:05:05.764094Z", "iopub.status.idle": "2025-04-09T03:38:22.165712Z",
"shell.execute_reply": "2025-03-23T12:05:05.763087Z", "shell.execute_reply": "2025-04-09T03:38:22.164697Z",
"shell.execute_reply.started": "2025-03-23T12:05:05.752534Z" "shell.execute_reply.started": "2025-04-09T03:38:22.151978Z"
} }
}, },
"outputs": [ "outputs": [
@@ -85,7 +85,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"34\n" "2\n"
] ]
} }
], ],
@@ -99,7 +99,7 @@
"filename = 'data/延庆人员.json'\n", "filename = 'data/延庆人员.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"filename = 'data/marks_20250323.csv'\n", "filename = 'data/marks_20250409.csv'\n",
"re_ta = My.get_result(filename,dict1)\n", "re_ta = My.get_result(filename,dict1)\n",
"\n", "\n",
"filename = 'data/result_延庆人员.json'\n", "filename = 'data/result_延庆人员.json'\n",
@@ -118,15 +118,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 4,
"id": "8f459ed3-fc14-404f-998b-5ed2a15958c3", "id": "8f459ed3-fc14-404f-998b-5ed2a15958c3",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-03-23T12:05:25.676321Z", "iopub.execute_input": "2025-04-09T03:38:30.600873Z",
"iopub.status.busy": "2025-03-23T12:05:25.673408Z", "iopub.status.busy": "2025-04-09T03:38:30.600179Z",
"iopub.status.idle": "2025-03-23T12:05:25.698862Z", "iopub.status.idle": "2025-04-09T03:38:30.608835Z",
"shell.execute_reply": "2025-03-23T12:05:25.697358Z", "shell.execute_reply": "2025-04-09T03:38:30.607794Z",
"shell.execute_reply.started": "2025-03-23T12:05:25.676245Z" "shell.execute_reply.started": "2025-04-09T03:38:30.600808Z"
} }
}, },
"outputs": [ "outputs": [
@@ -390,15 +390,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 32, "execution_count": 5,
"id": "9e843585-fef3-4f5c-baae-76e711f2a42f", "id": "9e843585-fef3-4f5c-baae-76e711f2a42f",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2025-03-23T12:06:54.063669Z", "iopub.execute_input": "2025-04-09T03:38:41.214859Z",
"iopub.status.busy": "2025-03-23T12:06:54.062938Z", "iopub.status.busy": "2025-04-09T03:38:41.214255Z",
"iopub.status.idle": "2025-03-23T12:07:09.016508Z", "iopub.status.idle": "2025-04-09T03:38:42.794354Z",
"shell.execute_reply": "2025-03-23T12:07:09.015300Z", "shell.execute_reply": "2025-04-09T03:38:42.793576Z",
"shell.execute_reply.started": "2025-03-23T12:06:54.063585Z" "shell.execute_reply.started": "2025-04-09T03:38:41.214802Z"
} }
}, },
"outputs": [ "outputs": [
@@ -406,7 +406,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"32\n" "2\n"
] ]
} }
], ],
+648 -25
View File
@@ -2002,9 +2002,7 @@
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "1208eb16-a220-48c4-8c9e-cc4dbf67306e", "id": "1208eb16-a220-48c4-8c9e-cc4dbf67306e",
"metadata": { "metadata": {},
"jp-MarkdownHeadingCollapsed": true
},
"source": [ "source": [
"# 体测数据分析" "# 体测数据分析"
] ]
@@ -2019,9 +2017,17 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 1,
"id": "523523ed-340a-4d0e-bd7a-d0b09b36ab13", "id": "523523ed-340a-4d0e-bd7a-d0b09b36ab13",
"metadata": {}, "metadata": {
"execution": {
"iopub.execute_input": "2025-04-11T01:39:01.155159Z",
"iopub.status.busy": "2025-04-11T01:39:01.154556Z",
"iopub.status.idle": "2025-04-11T01:39:01.172592Z",
"shell.execute_reply": "2025-04-11T01:39:01.171866Z",
"shell.execute_reply.started": "2025-04-11T01:39:01.155105Z"
}
},
"outputs": [], "outputs": [],
"source": [ "source": [
"import json\n", "import json\n",
@@ -2150,13 +2156,72 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 2,
"id": "3ab82376-e416-4411-a017-0463a9b8c10a", "id": "3ab82376-e416-4411-a017-0463a9b8c10a",
"metadata": {}, "metadata": {
"outputs": [], "execution": {
"iopub.execute_input": "2025-04-11T01:40:21.406928Z",
"iopub.status.busy": "2025-04-11T01:40:21.406232Z",
"iopub.status.idle": "2025-04-11T01:40:21.421476Z",
"shell.execute_reply": "2025-04-11T01:40:21.420393Z",
"shell.execute_reply.started": "2025-04-11T01:40:21.406860Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5 特禀 False [65, 37, 32, 56, 53, 50, 35, 35, 57]\n",
"99 平和 False [84, 3, 14, 12, 0, 8, 3, 0, 3]\n",
"101 湿热 False [50, 40, 17, 37, 53, 54, 35, 28, 21]\n",
"100 阴虚 False [71, 21, 14, 40, 12, 20, 32, 21, 14]\n",
"102 平和 False [81, 18, 3, 9, 28, 20, 14, 14, 3]\n",
"105 湿热 False [37, 81, 21, 50, 50, 83, 57, 50, 42]\n",
"104 阳虚 False [59, 34, 42, 40, 28, 37, 32, 35, 32]\n",
"103 阳虚 False [56, 43, 53, 53, 53, 45, 42, 32, 53]\n",
"18 血瘀 False [25, 81, 71, 68, 81, 66, 89, 71, 57]\n",
"28 气虚 True [65, 37, 21, 34, 28, 12, 7, 14, 17]\n",
"33 湿热 False [87, 31, 10, 25, 34, 41, 10, 10, 35]\n",
"107 痰湿 False [65, 34, 10, 46, 53, 45, 32, 17, 10]\n",
"39 气虚 False [78, 50, 10, 25, 40, 16, 10, 3, 21]\n",
"15 痰湿 False [50, 43, 50, 50, 56, 54, 50, 53, 53]\n",
"108 湿热 False [62, 40, 42, 31, 53, 58, 28, 28, 32]\n",
"36 气郁 False [62, 18, 35, 34, 28, 45, 35, 50, 17]\n",
"43 湿热 True [62, 34, 21, 15, 25, 37, 35, 32, 21]\n",
"24 平和 False [71, 25, 3, 0, 3, 0, 17, 14, 3]\n",
"61 阳虚 False [56, 37, 46, 31, 46, 41, 42, 32, 39]\n",
"40 阴虚 False [65, 37, 42, 43, 34, 29, 25, 28, 25]\n",
"113 阴虚 False [71, 40, 28, 46, 31, 33, 17, 0, 14]\n",
"114 阴虚 False [56, 28, 7, 43, 28, 33, 25, 21, 25]\n",
"55 平和 False [90, 9, 3, 15, 18, 20, 7, 3, 17]\n",
"57 痰湿 False [56, 37, 10, 46, 50, 37, 28, 35, 21]\n",
"69 阴虚 False [56, 37, 17, 53, 34, 41, 21, 21, 14]\n",
"50 阳虚 False [56, 46, 50, 43, 46, 45, 35, 32, 25]\n",
"118 痰湿 False [34, 62, 53, 40, 65, 62, 57, 57, 21]\n",
"20 气虚 False [56, 50, 50, 9, 34, 25, 17, 35, 3]\n",
"35 阴虚 True [87, 25, 3, 34, 28, 12, 14, 3, 3]\n",
"44 平和 False [71, 21, 28, 25, 18, 29, 21, 28, 3]\n",
"41 痰湿 False [40, 50, 42, 50, 71, 37, 53, 57, 32]\n",
"131 痰湿 False [56, 43, 21, 34, 50, 45, 32, 32, 32]\n",
"9 平和 False [84, 9, 17, 18, 15, 20, 17, 7, 3]\n",
"132 湿热 True [100, 6, 0, 31, 21, 33, 25, 7, 21]\n",
"134 阳虚 False [53, 37, 64, 25, 34, 37, 39, 50, 42]\n",
"133 阴虚 False [75, 31, 10, 59, 21, 8, 7, 14, 14]\n",
"3 痰湿 False [78, 31, 46, 34, 59, 41, 21, 14, 35]\n",
"71 阳虚 True [78, 21, 32, 21, 25, 20, 14, 7, 7]\n",
"6 阳虚 False [68, 28, 46, 43, 28, 25, 25, 7, 10]\n",
"135 湿热 False [53, 43, 39, 37, 56, 58, 57, 25, 39]\n",
"48 气虚 False [59, 43, 14, 43, 37, 41, 14, 39, 35]\n",
"53 痰湿 False [46, 68, 53, 59, 84, 79, 64, 57, 78]\n",
"138 湿热 False [43, 25, 42, 25, 28, 50, 25, 39, 10]\n",
"139 阳虚 False [53, 34, 46, 37, 40, 41, 42, 42, 25]\n"
]
}
],
"source": [ "source": [
"\n", "\n",
"filename = 'data/result_青海all_2.json'\n", "filename = 'data/result_青海2025-1.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"\n", "\n",
@@ -2184,10 +2249,377 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 3,
"id": "ffce959e-d42b-40eb-b694-d47cc7a73124", "id": "ffce959e-d42b-40eb-b694-d47cc7a73124",
"metadata": {}, "metadata": {
"outputs": [], "execution": {
"iopub.execute_input": "2025-04-11T01:40:25.347203Z",
"iopub.status.busy": "2025-04-11T01:40:25.346884Z",
"iopub.status.idle": "2025-04-11T01:40:25.359777Z",
"shell.execute_reply": "2025-04-11T01:40:25.359185Z",
"shell.execute_reply.started": "2025-04-11T01:40:25.347169Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{1: 30, 4: 14, 3: 12, 2: 8, 5: 1, 6: 1}\n",
"5\n",
"成就感 85\n",
"愉快心境 28\n",
"放松程度 42\n",
"压力应对 50\n",
"体力充沛 12\n",
"情感充沛度 16\n",
"{1: 20, 4: 8, 3: 7, 2: 7, 5: 6, 6: 6}\n",
"99\n",
"成就感 57\n",
"愉快心境 25\n",
"放松程度 25\n",
"压力应对 28\n",
"体力充沛 75\n",
"情感充沛度 100\n",
"{1: 20, 4: 17, 3: 10, 2: 8, 5: 2, 6: 0}\n",
"101\n",
"成就感 57\n",
"愉快心境 28\n",
"放松程度 35\n",
"压力应对 60\n",
"体力充沛 25\n",
"情感充沛度 0\n",
"{1: 35, 4: 9, 3: 10, 2: 9, 5: 2, 6: 1}\n",
"100\n",
"成就感 100\n",
"愉快心境 32\n",
"放松程度 35\n",
"压力应对 32\n",
"体力充沛 25\n",
"情感充沛度 16\n",
"{1: 17, 4: 9, 3: 8, 2: 10, 5: 3, 6: 5}\n",
"102\n",
"成就感 48\n",
"愉快心境 35\n",
"放松程度 28\n",
"压力应对 32\n",
"体力充沛 37\n",
"情感充沛度 83\n",
"{1: 12, 4: 25, 3: 28, 2: 28, 5: 0, 6: 2}\n",
"105\n",
"成就感 34\n",
"愉快心境 100\n",
"放松程度 100\n",
"压力应对 89\n",
"体力充沛 0\n",
"情感充沛度 33\n",
"{1: 20, 4: 13, 3: 12, 2: 11, 5: 3, 6: 1}\n",
"104\n",
"成就感 57\n",
"愉快心境 39\n",
"放松程度 42\n",
"压力应对 46\n",
"体力充沛 37\n",
"情感充沛度 16\n",
"{1: 35, 4: 14, 3: 11, 2: 8, 5: 2, 6: 3}\n",
"103\n",
"成就感 100\n",
"愉快心境 28\n",
"放松程度 39\n",
"压力应对 50\n",
"体力充沛 25\n",
"情感充沛度 50\n",
"{1: 32, 4: 17, 3: 15, 2: 12, 5: 3, 6: 2}\n",
"18\n",
"成就感 91\n",
"愉快心境 42\n",
"放松程度 53\n",
"压力应对 60\n",
"体力充沛 37\n",
"情感充沛度 33\n",
"{1: 27, 4: 8, 3: 9, 2: 10, 5: 5, 6: 4}\n",
"28\n",
"成就感 77\n",
"愉快心境 35\n",
"放松程度 32\n",
"压力应对 28\n",
"体力充沛 62\n",
"情感充沛度 66\n",
"{1: 35, 4: 11, 3: 11, 2: 7, 5: 6, 6: 6}\n",
"33\n",
"成就感 100\n",
"愉快心境 25\n",
"放松程度 39\n",
"压力应对 39\n",
"体力充沛 75\n",
"情感充沛度 100\n",
"{1: 32, 4: 14, 3: 11, 2: 12, 5: 4, 6: 5}\n",
"107\n",
"成就感 91\n",
"愉快心境 42\n",
"放松程度 39\n",
"压力应对 50\n",
"体力充沛 50\n",
"情感充沛度 83\n",
"{1: 31, 4: 14, 3: 9, 2: 9, 5: 3, 6: 5}\n",
"39\n",
"成就感 88\n",
"愉快心境 32\n",
"放松程度 32\n",
"压力应对 50\n",
"体力充沛 37\n",
"情感充沛度 83\n",
"{1: 25, 4: 14, 3: 13, 2: 13, 5: 3, 6: 3}\n",
"15\n",
"成就感 71\n",
"愉快心境 46\n",
"放松程度 46\n",
"压力应对 50\n",
"体力充沛 37\n",
"情感充沛度 50\n",
"{1: 26, 4: 19, 3: 16, 2: 14, 5: 0, 6: 5}\n",
"108\n",
"成就感 74\n",
"愉快心境 50\n",
"放松程度 57\n",
"压力应对 67\n",
"体力充沛 0\n",
"情感充沛度 83\n",
"{1: 33, 4: 12, 3: 9, 2: 9, 5: 4, 6: 1}\n",
"36\n",
"成就感 94\n",
"愉快心境 32\n",
"放松程度 32\n",
"压力应对 42\n",
"体力充沛 50\n",
"情感充沛度 16\n",
"{1: 34, 4: 11, 3: 9, 2: 8, 5: 8, 6: 5}\n",
"43\n",
"成就感 97\n",
"愉快心境 28\n",
"放松程度 32\n",
"压力应对 39\n",
"体力充沛 100\n",
"情感充沛度 83\n",
"{1: 29, 4: 7, 3: 7, 2: 7, 5: 8, 6: 5}\n",
"24\n",
"成就感 82\n",
"愉快心境 25\n",
"放松程度 25\n",
"压力应对 25\n",
"体力充沛 100\n",
"情感充沛度 83\n",
"{1: 20, 4: 9, 3: 11, 2: 9, 5: 3, 6: 4}\n",
"61\n",
"成就感 57\n",
"愉快心境 32\n",
"放松程度 39\n",
"压力应对 32\n",
"体力充沛 37\n",
"情感充沛度 66\n",
"{1: 27, 4: 13, 3: 11, 2: 13, 5: 3, 6: 4}\n",
"40\n",
"成就感 77\n",
"愉快心境 46\n",
"放松程度 39\n",
"压力应对 46\n",
"体力充沛 37\n",
"情感充沛度 66\n",
"{1: 35, 4: 13, 3: 14, 2: 10, 5: 3, 6: 2}\n",
"113\n",
"成就感 100\n",
"愉快心境 35\n",
"放松程度 50\n",
"压力应对 46\n",
"体力充沛 37\n",
"情感充沛度 33\n",
"{1: 33, 4: 14, 3: 10, 2: 10, 5: 6, 6: 5}\n",
"114\n",
"成就感 94\n",
"愉快心境 35\n",
"放松程度 35\n",
"压力应对 50\n",
"体力充沛 75\n",
"情感充沛度 83\n",
"{1: 24, 4: 10, 3: 8, 2: 9, 5: 8, 6: 6}\n",
"55\n",
"成就感 68\n",
"愉快心境 32\n",
"放松程度 28\n",
"压力应对 35\n",
"体力充沛 100\n",
"情感充沛度 100\n",
"{1: 26, 4: 15, 3: 14, 2: 11, 5: 2, 6: 0}\n",
"57\n",
"成就感 74\n",
"愉快心境 39\n",
"放松程度 50\n",
"压力应对 53\n",
"体力充沛 25\n",
"情感充沛度 0\n",
"{1: 29, 4: 11, 3: 9, 2: 10, 5: 6, 6: 2}\n",
"69\n",
"成就感 82\n",
"愉快心境 35\n",
"放松程度 32\n",
"压力应对 39\n",
"体力充沛 75\n",
"情感充沛度 33\n",
"{1: 20, 4: 12, 3: 11, 2: 10, 5: 6, 6: 2}\n",
"50\n",
"成就感 57\n",
"愉快心境 35\n",
"放松程度 39\n",
"压力应对 42\n",
"体力充沛 75\n",
"情感充沛度 33\n",
"{1: 27, 4: 16, 3: 11, 2: 14, 5: 3, 6: 4}\n",
"118\n",
"成就感 77\n",
"愉快心境 50\n",
"放松程度 39\n",
"压力应对 57\n",
"体力充沛 37\n",
"情感充沛度 66\n",
"{1: 35, 4: 16, 3: 7, 2: 9, 5: 5, 6: 5}\n",
"20\n",
"成就感 100\n",
"愉快心境 32\n",
"放松程度 25\n",
"压力应对 57\n",
"体力充沛 62\n",
"情感充沛度 83\n",
"{1: 35, 4: 9, 3: 8, 2: 7, 5: 4, 6: 5}\n",
"35\n",
"成就感 100\n",
"愉快心境 25\n",
"放松程度 28\n",
"压力应对 32\n",
"体力充沛 50\n",
"情感充沛度 83\n",
"{1: 24, 4: 14, 3: 9, 2: 9, 5: 8, 6: 5}\n",
"44\n",
"成就感 68\n",
"愉快心境 32\n",
"放松程度 32\n",
"压力应对 50\n",
"体力充沛 100\n",
"情感充沛度 83\n",
"{1: 21, 4: 14, 3: 11, 2: 10, 5: 1, 6: 4}\n",
"41\n",
"成就感 60\n",
"愉快心境 35\n",
"放松程度 39\n",
"压力应对 50\n",
"体力充沛 12\n",
"情感充沛度 66\n",
"{1: 29, 4: 12, 3: 14, 2: 11, 5: 1, 6: 3}\n",
"131\n",
"成就感 82\n",
"愉快心境 39\n",
"放松程度 50\n",
"压力应对 42\n",
"体力充沛 12\n",
"情感充沛度 50\n",
"{1: 35, 4: 8, 3: 8, 2: 7, 5: 8, 6: 5}\n",
"9\n",
"成就感 100\n",
"愉快心境 25\n",
"放松程度 28\n",
"压力应对 28\n",
"体力充沛 100\n",
"情感充沛度 83\n",
"{1: 35, 4: 7, 3: 8, 2: 7, 5: 8, 6: 6}\n",
"132\n",
"成就感 100\n",
"愉快心境 25\n",
"放松程度 28\n",
"压力应对 25\n",
"体力充沛 100\n",
"情感充沛度 100\n",
"{1: 35, 4: 12, 3: 9, 2: 8, 5: 6, 6: 5}\n",
"134\n",
"成就感 100\n",
"愉快心境 28\n",
"放松程度 32\n",
"压力应对 42\n",
"体力充沛 75\n",
"情感充沛度 83\n",
"{1: 20, 4: 9, 3: 10, 2: 8, 5: 6, 6: 3}\n",
"133\n",
"成就感 57\n",
"愉快心境 28\n",
"放松程度 35\n",
"压力应对 32\n",
"体力充沛 75\n",
"情感充沛度 50\n",
"{1: 32, 4: 11, 3: 11, 2: 8, 5: 7, 6: 5}\n",
"3\n",
"成就感 91\n",
"愉快心境 28\n",
"放松程度 39\n",
"压力应对 39\n",
"体力充沛 87\n",
"情感充沛度 83\n",
"{1: 27, 4: 7, 3: 8, 2: 7, 5: 6, 6: 5}\n",
"71\n",
"成就感 77\n",
"愉快心境 25\n",
"放松程度 28\n",
"压力应对 25\n",
"体力充沛 75\n",
"情感充沛度 83\n",
"{1: 23, 4: 9, 3: 9, 2: 8, 5: 7, 6: 5}\n",
"6\n",
"成就感 65\n",
"愉快心境 28\n",
"放松程度 32\n",
"压力应对 32\n",
"体力充沛 87\n",
"情感充沛度 83\n",
"{1: 24, 4: 22, 3: 12, 2: 10, 5: 4, 6: 5}\n",
"135\n",
"成就感 68\n",
"愉快心境 35\n",
"放松程度 42\n",
"压力应对 78\n",
"体力充沛 50\n",
"情感充沛度 83\n",
"{1: 23, 4: 14, 3: 12, 2: 10, 5: 2, 6: 1}\n",
"48\n",
"成就感 65\n",
"愉快心境 35\n",
"放松程度 42\n",
"压力应对 50\n",
"体力充沛 25\n",
"情感充沛度 16\n",
"{1: 25, 4: 14, 3: 14, 2: 13, 5: 0, 6: 1}\n",
"53\n",
"成就感 71\n",
"愉快心境 46\n",
"放松程度 50\n",
"压力应对 50\n",
"体力充沛 0\n",
"情感充沛度 16\n",
"{1: 20, 4: 14, 3: 9, 2: 16, 5: 3, 6: 3}\n",
"138\n",
"成就感 57\n",
"愉快心境 57\n",
"放松程度 32\n",
"压力应对 50\n",
"体力充沛 37\n",
"情感充沛度 50\n",
"{1: 32, 4: 13, 3: 12, 2: 11, 5: 4, 6: 2}\n",
"139\n",
"成就感 91\n",
"愉快心境 39\n",
"放松程度 42\n",
"压力应对 46\n",
"体力充沛 50\n",
"情感充沛度 33\n"
]
}
],
"source": [ "source": [
"list2 = ['成就感','愉快心境','放松程度','压力应对','体力充沛','情感充沛度']\n", "list2 = ['成就感','愉快心境','放松程度','压力应对','体力充沛','情感充沛度']\n",
"list3 = [[5,7],[7,4],[7,4],[7,4],[8,1],[6,1]]\n", "list3 = [[5,7],[7,4],[7,4],[7,4],[8,1],[6,1]]\n",
@@ -2199,7 +2631,7 @@
" 5, 5, 5, 5, 5, 5, 5, 5,\n", " 5, 5, 5, 5, 5, 5, 5, 5,\n",
" 6, 6, 6, 6, 6, 6\n", " 6, 6, 6, 6, 6, 6\n",
" ]\n", " ]\n",
"filename = 'data/result_青海all_2.json'\n", "filename = 'data/result_青海2025-1.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"for k, v in dict1.items():\n", "for k, v in dict1.items():\n",
@@ -2232,14 +2664,205 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 4,
"id": "67c19da3-5e06-480b-94a4-76659517d3c3", "id": "67c19da3-5e06-480b-94a4-76659517d3c3",
"metadata": {}, "metadata": {
"outputs": [], "execution": {
"iopub.execute_input": "2025-04-11T01:40:28.861789Z",
"iopub.status.busy": "2025-04-11T01:40:28.861091Z",
"iopub.status.idle": "2025-04-11T01:40:28.876024Z",
"shell.execute_reply": "2025-04-11T01:40:28.874924Z",
"shell.execute_reply.started": "2025-04-11T01:40:28.861726Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"5 颈椎 20\n",
"5 胸椎 28\n",
"5 腰椎 66\n",
"5 骶尾椎 100\n",
"99 颈椎 80\n",
"99 胸椎 100\n",
"99 腰椎 83\n",
"99 骶尾椎 50\n",
"101 颈椎 30\n",
"101 胸椎 28\n",
"101 腰椎 83\n",
"101 骶尾椎 100\n",
"100 颈椎 60\n",
"100 胸椎 100\n",
"100 腰椎 83\n",
"100 骶尾椎 100\n",
"102 颈椎 80\n",
"102 胸椎 100\n",
"102 腰椎 100\n",
"102 骶尾椎 100\n",
"105 颈椎 60\n",
"105 胸椎 42\n",
"105 腰椎 83\n",
"105 骶尾椎 100\n",
"104 颈椎 90\n",
"104 胸椎 57\n",
"104 腰椎 100\n",
"104 骶尾椎 100\n",
"103 颈椎 60\n",
"103 胸椎 71\n",
"103 腰椎 100\n",
"103 骶尾椎 100\n",
"18 颈椎 10\n",
"18 胸椎 57\n",
"18 腰椎 16\n",
"18 骶尾椎 50\n",
"28 颈椎 70\n",
"28 胸椎 100\n",
"28 腰椎 100\n",
"28 骶尾椎 100\n",
"33 颈椎 90\n",
"33 胸椎 71\n",
"33 腰椎 100\n",
"33 骶尾椎 100\n",
"107 颈椎 40\n",
"107 胸椎 100\n",
"107 腰椎 100\n",
"107 骶尾椎 100\n",
"39 颈椎 60\n",
"39 胸椎 85\n",
"39 腰椎 83\n",
"39 骶尾椎 100\n",
"15 颈椎 100\n",
"15 胸椎 100\n",
"15 腰椎 100\n",
"15 骶尾椎 100\n",
"108 颈椎 60\n",
"108 胸椎 71\n",
"108 腰椎 100\n",
"108 骶尾椎 100\n",
"36 颈椎 70\n",
"36 胸椎 100\n",
"36 腰椎 83\n",
"36 骶尾椎 100\n",
"43 颈椎 60\n",
"43 胸椎 57\n",
"43 腰椎 66\n",
"43 骶尾椎 100\n",
"24 颈椎 90\n",
"24 胸椎 100\n",
"24 腰椎 83\n",
"24 骶尾椎 100\n",
"61 颈椎 60\n",
"61 胸椎 28\n",
"61 腰椎 83\n",
"61 骶尾椎 100\n",
"40 颈椎 70\n",
"40 胸椎 100\n",
"40 腰椎 50\n",
"40 骶尾椎 100\n",
"113 颈椎 90\n",
"113 胸椎 71\n",
"113 腰椎 100\n",
"113 骶尾椎 100\n",
"114 颈椎 70\n",
"114 胸椎 85\n",
"114 腰椎 100\n",
"114 骶尾椎 100\n",
"55 颈椎 100\n",
"55 胸椎 100\n",
"55 腰椎 100\n",
"55 骶尾椎 100\n",
"57 颈椎 50\n",
"57 胸椎 42\n",
"57 腰椎 83\n",
"57 骶尾椎 100\n",
"69 颈椎 90\n",
"69 胸椎 85\n",
"69 腰椎 100\n",
"69 骶尾椎 100\n",
"50 颈椎 60\n",
"50 胸椎 85\n",
"50 腰椎 100\n",
"50 骶尾椎 100\n",
"118 颈椎 50\n",
"118 胸椎 42\n",
"118 腰椎 50\n",
"118 骶尾椎 100\n",
"20 颈椎 50\n",
"20 胸椎 85\n",
"20 腰椎 66\n",
"20 骶尾椎 100\n",
"35 颈椎 80\n",
"35 胸椎 100\n",
"35 腰椎 83\n",
"35 骶尾椎 100\n",
"44 颈椎 90\n",
"44 胸椎 100\n",
"44 腰椎 83\n",
"44 骶尾椎 100\n",
"41 颈椎 20\n",
"41 胸椎 28\n",
"41 腰椎 33\n",
"41 骶尾椎 100\n",
"131 颈椎 70\n",
"131 胸椎 57\n",
"131 腰椎 100\n",
"131 骶尾椎 100\n",
"9 颈椎 100\n",
"9 胸椎 100\n",
"9 腰椎 83\n",
"9 骶尾椎 100\n",
"132 颈椎 90\n",
"132 胸椎 100\n",
"132 腰椎 100\n",
"132 骶尾椎 100\n",
"134 颈椎 60\n",
"134 胸椎 100\n",
"134 腰椎 66\n",
"134 骶尾椎 100\n",
"133 颈椎 90\n",
"133 胸椎 100\n",
"133 腰椎 100\n",
"133 骶尾椎 100\n",
"3 颈椎 60\n",
"3 胸椎 57\n",
"3 腰椎 83\n",
"3 骶尾椎 100\n",
"71 颈椎 100\n",
"71 胸椎 100\n",
"71 腰椎 100\n",
"71 骶尾椎 100\n",
"6 颈椎 80\n",
"6 胸椎 71\n",
"6 腰椎 83\n",
"6 骶尾椎 100\n",
"135 颈椎 70\n",
"135 胸椎 85\n",
"135 腰椎 66\n",
"135 骶尾椎 100\n",
"48 颈椎 60\n",
"48 胸椎 57\n",
"48 腰椎 100\n",
"48 骶尾椎 100\n",
"53 颈椎 20\n",
"53 胸椎 71\n",
"53 腰椎 50\n",
"53 骶尾椎 100\n",
"138 颈椎 80\n",
"138 胸椎 100\n",
"138 腰椎 83\n",
"138 骶尾椎 100\n",
"139 颈椎 80\n",
"139 胸椎 100\n",
"139 腰椎 66\n",
"139 骶尾椎 100\n"
]
}
],
"source": [ "source": [
"list4 = ['颈椎','胸椎','腰椎','骶尾椎']\n", "list4 = ['颈椎','胸椎','腰椎','骶尾椎']\n",
"list5 = [[0,10,10],[10,17,7],[17,24,6],[24,26,2]]\n", "list5 = [[0,10,10],[10,17,7],[17,24,6],[24,26,2]]\n",
"filename = 'data/result_青海all_2.json'\n", "filename = 'data/result_青海2025-1.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"for k, v in dict1.items():\n", "for k, v in dict1.items():\n",
@@ -2254,15 +2877,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 108, "execution_count": 5,
"id": "40ff33f6-5fd3-423e-bf52-ac16327e8f82", "id": "40ff33f6-5fd3-423e-bf52-ac16327e8f82",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2024-07-25T12:47:36.317570Z", "iopub.execute_input": "2025-04-11T01:40:39.471601Z",
"iopub.status.busy": "2024-07-25T12:47:36.316733Z", "iopub.status.busy": "2025-04-11T01:40:39.470919Z",
"iopub.status.idle": "2024-07-25T12:47:36.348711Z", "iopub.status.idle": "2025-04-11T01:40:39.687705Z",
"shell.execute_reply": "2024-07-25T12:47:36.348235Z", "shell.execute_reply": "2025-04-11T01:40:39.687184Z",
"shell.execute_reply.started": "2024-07-25T12:47:36.317491Z" "shell.execute_reply.started": "2025-04-11T01:40:39.471535Z"
} }
}, },
"outputs": [], "outputs": [],
@@ -2270,7 +2893,7 @@
"import openpyxl\n", "import openpyxl\n",
"\n", "\n",
"list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp']\n", "list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp']\n",
"filename = 'data/result_青海all_2.json'\n", "filename = 'data/result_青海2025-1.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"data_list = []\n", "data_list = []\n",
@@ -2352,7 +2975,7 @@
" list6.append('')\n", " list6.append('')\n",
" i+=1\n", " i+=1\n",
" data_list.append(list6)\n", " data_list.append(list6)\n",
"filename = 'data/青海测试情况表.xlsx'\n", "filename = 'data/青海测试情况表2025.xlsx'\n",
"wb = openpyxl.Workbook()\n", "wb = openpyxl.Workbook()\n",
"sheet = wb.active\n", "sheet = wb.active\n",
"#sheet.append(title)\n", "#sheet.append(title)\n",