diff --git a/体测单位/中国石化化工销售.ipynb b/体测单位/中国石化化工销售.ipynb index f8a0efc..c7a2892 100644 --- a/体测单位/中国石化化工销售.ipynb +++ b/体测单位/中国石化化工销售.ipynb @@ -124,15 +124,15 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 1, "id": "970e171e-1360-448f-a28c-520ccb8f314a", "metadata": { "execution": { - "iopub.execute_input": "2023-10-18T02:17:23.733390Z", - "iopub.status.busy": "2023-10-18T02:17:23.733131Z", - "iopub.status.idle": "2023-10-18T02:17:23.758353Z", - "shell.execute_reply": "2023-10-18T02:17:23.757550Z", - "shell.execute_reply.started": "2023-10-18T02:17:23.733366Z" + "iopub.execute_input": "2024-10-22T02:25:41.269673Z", + "iopub.status.busy": "2024-10-22T02:25:41.268882Z", + "iopub.status.idle": "2024-10-22T02:25:41.287724Z", + "shell.execute_reply": "2024-10-22T02:25:41.287168Z", + "shell.execute_reply.started": "2024-10-22T02:25:41.269600Z" }, "tags": [] }, @@ -141,8 +141,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "141\n", - "141\n" + "44\n", + "44\n" ] } ], @@ -161,11 +161,11 @@ "re_ta = {}\n", "dict1 = {}\n", "list1 = []\n", - "filename = 'data/北京党校.json'\n", + "filename = 'data/中国石化化工销售.json'\n", "with open(filename,'r') as fl:\n", " dict1 = json.load(fl) \n", "\n", - "filename = 'data/places_result_20231018.csv'\n", + "filename = 'data/places_result_20241022.csv'\n", "with open(filename,'r',newline='') as csv_file:\n", " fl = csv.reader(csv_file,delimiter=',')\n", " header = next(fl) \n", @@ -186,7 +186,7 @@ " score = int(result[4])/item[m_item]['divisor'] \n", " re_ta[user][item_name]['成绩'] = f'{score} {item[m_item][\"unit\"]}'\n", "print(len(re_ta))\n", - "filename = 'data/result_北京党校.json'\n", + "filename = 'data/result_中国石化化工销售2023.json'\n", "\n", "with open(filename,'w') as fl:\n", " json.dump(re_ta, fl, ensure_ascii=False) \n", @@ -312,7 +312,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.12.3" } }, "nbformat": 4, diff --git a/体测单位/体质检测数据处理.ipynb b/体测单位/体质检测数据处理.ipynb index 24ac9f3..995b899 100644 --- a/体测单位/体质检测数据处理.ipynb +++ b/体测单位/体质检测数据处理.ipynb @@ -431,15 +431,15 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 9, "id": "3e614f4a-a623-48e2-97f8-b31f62c9a983", "metadata": { "execution": { - "iopub.execute_input": "2024-10-12T07:02:02.593487Z", - "iopub.status.busy": "2024-10-12T07:02:02.592731Z", - "iopub.status.idle": "2024-10-12T07:02:02.619016Z", - "shell.execute_reply": "2024-10-12T07:02:02.618495Z", - "shell.execute_reply.started": "2024-10-12T07:02:02.593410Z" + "iopub.execute_input": "2024-10-22T02:28:16.776885Z", + "iopub.status.busy": "2024-10-22T02:28:16.776070Z", + "iopub.status.idle": "2024-10-22T02:28:16.799797Z", + "shell.execute_reply": "2024-10-22T02:28:16.798876Z", + "shell.execute_reply.started": "2024-10-22T02:28:16.776803Z" }, "tags": [] }, @@ -448,8 +448,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "76\n", - "76\n" + "44\n", + "44\n" ] } ], @@ -482,11 +482,11 @@ "re_ta = {}\n", "dict1 = {}\n", "list1 = []\n", - "filename = 'data/东营工程设计院2024.json'\n", + "filename = 'data/中国石化化工销售.json'\n", "with open(filename,'r') as fl:\n", " dict1 = json.load(fl) \n", "\n", - "filename = 'data/places_result_20240926.csv'\n", + "filename = 'data/places_result_20241022.csv'\n", "with open(filename,'r',newline='') as csv_file:\n", " fl = csv.reader(csv_file,delimiter=',')\n", " header = next(fl) \n", @@ -527,7 +527,7 @@ " score = int(result[4])/item[m_item]['divisor'] \n", " re_ta[user][item_name]['成绩'] = f'{score} {item[m_item][\"unit\"]}'\n", "print(len(re_ta))\n", - "filename = 'data/result_东营工程设计院2024.json'\n", + "filename = 'data/result_中国石化化工销售2023.json'\n", "\n", "with open(filename,'w') as fl:\n", " json.dump(re_ta, fl, ensure_ascii=False) \n", @@ -544,15 +544,15 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 10, "id": "141b30dc-5975-4dcb-9bc3-9b20d26a0917", "metadata": { "execution": { - "iopub.execute_input": "2024-10-12T07:02:05.510384Z", - "iopub.status.busy": "2024-10-12T07:02:05.509618Z", - "iopub.status.idle": "2024-10-12T07:02:05.530837Z", - "shell.execute_reply": "2024-10-12T07:02:05.530388Z", - "shell.execute_reply.started": "2024-10-12T07:02:05.510309Z" + "iopub.execute_input": "2024-10-22T02:28:54.799670Z", + "iopub.status.busy": "2024-10-22T02:28:54.798913Z", + "iopub.status.idle": "2024-10-22T02:28:54.824340Z", + "shell.execute_reply": "2024-10-22T02:28:54.823796Z", + "shell.execute_reply.started": "2024-10-22T02:28:54.799596Z" }, "tags": [] }, @@ -662,7 +662,7 @@ "\n", "#list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp','height','weight']\n", "list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp']\n", - "filename = 'data/result_东营工程设计院2024.json'\n", + "filename = 'data/result_中国石化化工销售2023.json'\n", "with open(filename,'r') as fl:\n", " dict2 = json.load(fl) \n", "for k, v in dict2.items():\n", @@ -683,7 +683,7 @@ " dict2[k][item_en]['score'] = cal_score(data1)\n", " #print(k,v[item_en]['成绩'],cal_score(data1))\n", "\n", - "filename = f'data/result_东营工程设计院2024.json'\n", + "filename = f'data/result_中国石化化工销售2023.json'\n", "with open(filename,'w') as fl:\n", " json.dump(dict2,fl , ensure_ascii=False) \n", "print('ok!') " @@ -1596,15 +1596,15 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 11, "id": "46aa847d-e1fe-45bd-85b6-e2d792ec8842", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T04:27:15.625845Z", - "iopub.status.busy": "2024-10-14T04:27:15.625079Z", - "iopub.status.idle": "2024-10-14T04:27:15.648163Z", - "shell.execute_reply": "2024-10-14T04:27:15.647247Z", - "shell.execute_reply.started": "2024-10-14T04:27:15.625772Z" + "iopub.execute_input": "2024-10-22T02:30:24.882960Z", + "iopub.status.busy": "2024-10-22T02:30:24.882217Z", + "iopub.status.idle": "2024-10-22T02:30:24.902502Z", + "shell.execute_reply": "2024-10-22T02:30:24.901201Z", + "shell.execute_reply.started": "2024-10-22T02:30:24.882891Z" } }, "outputs": [ @@ -1621,7 +1621,7 @@ "import openpyxl\n", "\n", "\n", - "filename = 'data/result_东营工程设计院2024.json'\n", + "filename = 'data/result_中国石化化工销售2023.json'\n", "with open(filename,'r') as fl:\n", " dict1 = json.load(fl)\n", "\n", @@ -1674,7 +1674,7 @@ " mydata['score'] = round(score/len(mydata['fits']),2)\n", " if len(mydata['fits']) >2:\n", " dict2[str(k)] = mydata\n", - "filename = f'data/data_东营工程设计院2024.json'\n", + "filename = f'data/data_中国石化化工销售2023.json'\n", "with open(filename,'w') as fl:\n", " json.dump(dict2,fl , ensure_ascii=False) \n", "print('ok!') " @@ -1690,15 +1690,15 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 12, "id": "63edd636-f034-4aa6-8575-63d5cdb84adb", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:21:11.612050Z", - "iopub.status.busy": "2024-10-14T10:21:11.611346Z", - "iopub.status.idle": "2024-10-14T10:21:11.622455Z", - "shell.execute_reply": "2024-10-14T10:21:11.621489Z", - "shell.execute_reply.started": "2024-10-14T10:21:11.611986Z" + "iopub.execute_input": "2024-10-22T02:34:09.495714Z", + "iopub.status.busy": "2024-10-22T02:34:09.494946Z", + "iopub.status.idle": "2024-10-22T02:34:09.503714Z", + "shell.execute_reply": "2024-10-22T02:34:09.503233Z", + "shell.execute_reply.started": "2024-10-22T02:34:09.495643Z" }, "tags": [] }, @@ -1707,15 +1707,15 @@ "name": "stdout", "output_type": "stream", "text": [ - "平均成绩:2.7852分,男性:44人\n", - "平均成绩:3.1184分,女性:32人\n", - "平均成绩:2.9255分,总体:76人\n" + "平均成绩:3.1688分,男性:26人\n", + "平均成绩:3.4576分,女性:17人\n", + "平均成绩:3.283分,总体:43人\n" ] } ], "source": [ "nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n", - "filename = 'data/data_东营工程设计院2024.json'\n", + "filename = 'data/data_中国石化化工销售2023.json'\n", "with open(filename,'r') as fl:\n", " dict1 = json.load(fl) \n", "i = 1\n", @@ -1749,15 +1749,15 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 13, "id": "1b4a3f02-9b2e-41fc-ac6c-8163907a07f1", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:23:56.294263Z", - "iopub.status.busy": "2024-10-14T10:23:56.293490Z", - "iopub.status.idle": "2024-10-14T10:23:56.311309Z", - "shell.execute_reply": "2024-10-14T10:23:56.310359Z", - "shell.execute_reply.started": "2024-10-14T10:23:56.294186Z" + "iopub.execute_input": "2024-10-22T02:34:25.224176Z", + "iopub.status.busy": "2024-10-22T02:34:25.223420Z", + "iopub.status.idle": "2024-10-22T02:34:25.270285Z", + "shell.execute_reply": "2024-10-22T02:34:25.269687Z", + "shell.execute_reply.started": "2024-10-22T02:34:25.224075Z" }, "tags": [] }, @@ -1766,11 +1766,11 @@ "name": "stdout", "output_type": "stream", "text": [ - "0~255分人数:15人,男性:12人,女性:3人\n", - "256~332分人数:41人,男性:24人,女性:17人\n", - "333~367分人数:11人,男性:6人,女性:5人\n", - "368~500分人数:9人,男性:2人,女性:7人\n", - "76\n", + "0~255分人数:4人,男性:4人,女性:0人\n", + "256~332分人数:15人,男性:8人,女性:7人\n", + "333~367分人数:16人,男性:11人,女性:5人\n", + "368~500分人数:8人,男性:3人,女性:5人\n", + "43\n", "ok\n" ] } @@ -1820,15 +1820,15 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 14, "id": "2d661ca6-6129-4da1-ac25-51d0156babb2", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:24:43.837435Z", - "iopub.status.busy": "2024-10-14T10:24:43.835848Z", - "iopub.status.idle": "2024-10-14T10:24:43.850716Z", - "shell.execute_reply": "2024-10-14T10:24:43.849360Z", - "shell.execute_reply.started": "2024-10-14T10:24:43.837350Z" + "iopub.execute_input": "2024-10-22T02:35:22.073628Z", + "iopub.status.busy": "2024-10-22T02:35:22.072934Z", + "iopub.status.idle": "2024-10-22T02:35:22.082760Z", + "shell.execute_reply": "2024-10-22T02:35:22.081516Z", + "shell.execute_reply.started": "2024-10-22T02:35:22.073566Z" }, "tags": [] }, @@ -1837,14 +1837,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "20-24 {'不合格': 0, '合格': 3, '良好': 0}\n", - "25-29 {'不合格': 3, '合格': 7, '良好': 1, '优秀': 0}\n", - "30-34 {'良好': 1, '合格': 2, '优秀': 1}\n", - "35-39 {'良好': 2, '合格': 3, '优秀': 1}\n", + "20-24 {'合格': 1}\n", + "25-29 {'不合格': 0, '合格': 2, '良好': 2, '优秀': 1}\n", + "30-34 {'不合格': 0, '良好': 0}\n", + "35-39 {'合格': 1, '优秀': 0}\n", "40-44 {'良好': 0, '合格': 2, '优秀': 1, '不合格': 0}\n", - "45-49 {'优秀': 2, '合格': 0, '不合格': 0}\n", - "50-54 {'良好': 1, '优秀': 2, '合格': 0}\n", - "55-80 {'不合格': 0, '合格': 0}\n" + "45-49 {'良好': 2, '不合格': 0, '优秀': 0}\n", + "50-54 {'合格': 1, '优秀': 3, '良好': 1}\n", + "55-80 {'优秀': 0, '合格': 0}\n" ] } ], @@ -1887,15 +1887,15 @@ }, { "cell_type": "code", - "execution_count": 37, + "execution_count": 16, "id": "fc97df37-34ff-4a02-9d26-b5d81b706e46", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:25:49.522331Z", - "iopub.status.busy": "2024-10-14T10:25:49.521681Z", - "iopub.status.idle": "2024-10-14T10:25:49.529595Z", - "shell.execute_reply": "2024-10-14T10:25:49.529017Z", - "shell.execute_reply.started": "2024-10-14T10:25:49.522266Z" + "iopub.execute_input": "2024-10-22T02:36:41.779221Z", + "iopub.status.busy": "2024-10-22T02:36:41.778444Z", + "iopub.status.idle": "2024-10-22T02:36:41.790070Z", + "shell.execute_reply": "2024-10-22T02:36:41.788937Z", + "shell.execute_reply.started": "2024-10-22T02:36:41.779143Z" }, "tags": [] }, @@ -1904,14 +1904,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "20-24 {'不合格': 2, '合格': 2, '良好': 2}\n", - "25-29 {'不合格': 5, '合格': 11, '良好': 1, '优秀': 1}\n", - "30-34 {'良好': 1, '合格': 1, '优秀': 0}\n", - "35-39 {'良好': 0, '合格': 2, '优秀': 0}\n", - "40-44 {'良好': 1, '合格': 2, '优秀': 0, '不合格': 2}\n", - "45-49 {'优秀': 1, '合格': 2, '不合格': 1}\n", - "50-54 {'良好': 1, '优秀': 0, '合格': 2}\n", - "55-80 {'不合格': 2, '合格': 2}\n" + "20-24 {'合格': 0}\n", + "25-29 {'不合格': 1, '合格': 2, '良好': 1, '优秀': 0}\n", + "30-34 {'不合格': 1, '良好': 1}\n", + "35-39 {'合格': 1, '优秀': 1}\n", + "40-44 {'良好': 3, '合格': 2, '优秀': 0, '不合格': 1}\n", + "45-49 {'良好': 5, '不合格': 1, '优秀': 1}\n", + "50-54 {'合格': 2, '优秀': 0, '良好': 1}\n", + "55-80 {'优秀': 1, '合格': 1}\n" ] } ], @@ -1954,15 +1954,15 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": 17, "id": "dafb86f8-5ee0-4c87-a98f-c7ff0f631fe5", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:26:40.918191Z", - "iopub.status.busy": "2024-10-14T10:26:40.916838Z", - "iopub.status.idle": "2024-10-14T10:26:40.926504Z", - "shell.execute_reply": "2024-10-14T10:26:40.925115Z", - "shell.execute_reply.started": "2024-10-14T10:26:40.918077Z" + "iopub.execute_input": "2024-10-22T02:37:45.128462Z", + "iopub.status.busy": "2024-10-22T02:37:45.127749Z", + "iopub.status.idle": "2024-10-22T02:37:45.135167Z", + "shell.execute_reply": "2024-10-22T02:37:45.134680Z", + "shell.execute_reply.started": "2024-10-22T02:37:45.128396Z" }, "tags": [] }, @@ -1971,14 +1971,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "16~24岁平均成绩:2.78分,人数:9人,男性:6人\n", - "25~29岁平均成绩:2.72分,人数:29人,男性:18人\n", - "30~34岁平均成绩:3.3分,人数:6人,男性:2人\n", - "35~39岁平均成绩:3.08分,人数:8人,男性:2人\n", - "40~44岁平均成绩:2.87分,人数:8人,男性:5人\n", - "45~49岁平均成绩:3.24分,人数:6人,男性:4人\n", - "50~54岁平均成绩:3.54分,人数:6人,男性:3人\n", - "55~69岁平均成绩:2.62分,人数:4人,男性:4人\n" + "16~24岁平均成绩:3.0分,人数:1人,男性:0人\n", + "25~29岁平均成绩:3.12分,人数:9人,男性:4人\n", + "30~34岁平均成绩:2.9分,人数:2人,男性:2人\n", + "35~39岁平均成绩:3.22分,人数:3人,男性:2人\n", + "40~44岁平均成绩:3.21分,人数:9人,男性:6人\n", + "45~49岁平均成绩:3.36分,人数:9人,男性:7人\n", + "50~54岁平均成绩:3.52分,人数:8人,男性:3人\n", + "55~69岁平均成绩:3.68分,人数:2人,男性:2人\n" ] } ], @@ -2016,15 +2016,15 @@ }, { "cell_type": "code", - "execution_count": 39, + "execution_count": 18, "id": "347703a1-501b-4800-bd29-16e94f4a6793", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:28:16.896658Z", - "iopub.status.busy": "2024-10-14T10:28:16.895896Z", - "iopub.status.idle": "2024-10-14T10:28:16.905947Z", - "shell.execute_reply": "2024-10-14T10:28:16.904710Z", - "shell.execute_reply.started": "2024-10-14T10:28:16.896584Z" + "iopub.execute_input": "2024-10-22T02:39:10.524756Z", + "iopub.status.busy": "2024-10-22T02:39:10.524082Z", + "iopub.status.idle": "2024-10-22T02:39:10.535312Z", + "shell.execute_reply": "2024-10-22T02:39:10.534072Z", + "shell.execute_reply.started": "2024-10-22T02:39:10.524697Z" }, "tags": [] }, @@ -2033,14 +2033,14 @@ "name": "stdout", "output_type": "stream", "text": [ - "20~24岁平均成绩:2.76分,人数:6人\n", - "25~29岁平均成绩:2.7分,人数:18人\n", - "30~34岁平均成绩:3.12分,人数:2人\n", - "35~39岁平均成绩:2.78分,人数:2人\n", - "40~44岁平均成绩:2.68分,人数:5人\n", - "45~49岁平均成绩:2.94分,人数:4人\n", - "50~54岁平均成绩:3.3分,人数:3人\n", - "55~80岁平均成绩:2.62分,人数:4人\n" + "20~24岁平均成绩:0分,人数:0人\n", + "25~29岁平均成绩:2.75分,人数:4人\n", + "30~34岁平均成绩:2.9分,人数:2人\n", + "35~39岁平均成绩:3.39分,人数:2人\n", + "40~44岁平均成绩:3.15分,人数:6人\n", + "45~49岁平均成绩:3.29分,人数:7人\n", + "50~54岁平均成绩:3.19分,人数:3人\n", + "55~80岁平均成绩:3.68分,人数:2人\n" ] } ], @@ -2078,15 +2078,15 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": 19, "id": "5900d1c7-2f8c-4dfa-a60e-a577fb90f22d", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:29:05.940899Z", - "iopub.status.busy": "2024-10-14T10:29:05.940193Z", - "iopub.status.idle": "2024-10-14T10:29:05.953855Z", - "shell.execute_reply": "2024-10-14T10:29:05.952640Z", - "shell.execute_reply.started": "2024-10-14T10:29:05.940831Z" + "iopub.execute_input": "2024-10-22T02:39:53.521782Z", + "iopub.status.busy": "2024-10-22T02:39:53.520999Z", + "iopub.status.idle": "2024-10-22T02:39:53.530728Z", + "shell.execute_reply": "2024-10-22T02:39:53.529632Z", + "shell.execute_reply.started": "2024-10-22T02:39:53.521709Z" }, "tags": [] }, @@ -2095,13 +2095,13 @@ "name": "stdout", "output_type": "stream", "text": [ - "20~24岁平均成绩:2.82分,人数:3人\n", - "25~29岁平均成绩:2.74分,人数:11人\n", - "30~34岁平均成绩:3.39分,人数:4人\n", - "35~39岁平均成绩:3.19分,人数:6人\n", - "40~44岁平均成绩:3.19分,人数:3人\n", - "45~49岁平均成绩:3.83分,人数:2人\n", - "50~54岁平均成绩:3.78分,人数:3人\n", + "20~24岁平均成绩:3.0分,人数:1人\n", + "25~29岁平均成绩:3.41分,人数:5人\n", + "30~34岁平均成绩:0分,人数:0人\n", + "35~39岁平均成绩:2.89分,人数:1人\n", + "40~44岁平均成绩:3.34分,人数:3人\n", + "45~49岁平均成绩:3.62分,人数:2人\n", + "50~54岁平均成绩:3.72分,人数:5人\n", "55~80岁平均成绩:0分,人数:0人\n" ] } @@ -2138,15 +2138,15 @@ }, { "cell_type": "code", - "execution_count": 42, + "execution_count": 21, "id": "ad69c45d-3f62-42df-894d-47424e759029", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:29:38.461438Z", - "iopub.status.busy": "2024-10-14T10:29:38.460675Z", - "iopub.status.idle": "2024-10-14T10:29:38.469442Z", - "shell.execute_reply": "2024-10-14T10:29:38.468446Z", - "shell.execute_reply.started": "2024-10-14T10:29:38.461364Z" + "iopub.execute_input": "2024-10-22T02:41:46.277226Z", + "iopub.status.busy": "2024-10-22T02:41:46.276468Z", + "iopub.status.idle": "2024-10-22T02:41:46.288083Z", + "shell.execute_reply": "2024-10-22T02:41:46.287087Z", + "shell.execute_reply.started": "2024-10-22T02:41:46.277154Z" }, "tags": [] }, @@ -2155,16 +2155,16 @@ "name": "stdout", "output_type": "stream", "text": [ - "BMI 3.95 76\n", - "肺活量 3.71 76\n", - "握力 1.79 76\n", - "坐位体前屈 1.96 75\n", - "纵跳 2.61 76\n", - "俯卧撑 3.8 41\n", - "一分钟仰卧起坐 3.72 32\n", - "单脚站立 2.67 76\n", - "选择反应时 3.22 76\n", - "台阶指数 2.71 75\n" + "BMI 4.48 42\n", + "肺活量 3.95 42\n", + "握力 2.42 43\n", + "坐位体前屈 3.33 43\n", + "纵跳 2.88 43\n", + "俯卧撑 3.78 23\n", + "一分钟仰卧起坐 4.24 17\n", + "单脚站立 2.6 42\n", + "选择反应时 3.7 43\n", + "台阶指数 2.23 40\n" ] } ], @@ -2192,15 +2192,15 @@ }, { "cell_type": "code", - "execution_count": 43, + "execution_count": 22, "id": "dcf152e7-bbcc-47d1-9c5f-83854db35412", "metadata": { "execution": { - "iopub.execute_input": "2024-10-14T10:30:25.832265Z", - "iopub.status.busy": "2024-10-14T10:30:25.831497Z", - "iopub.status.idle": "2024-10-14T10:30:25.843861Z", - "shell.execute_reply": "2024-10-14T10:30:25.842633Z", - "shell.execute_reply.started": "2024-10-14T10:30:25.832193Z" + "iopub.execute_input": "2024-10-22T02:41:48.789473Z", + "iopub.status.busy": "2024-10-22T02:41:48.788717Z", + "iopub.status.idle": "2024-10-22T02:41:48.800140Z", + "shell.execute_reply": "2024-10-22T02:41:48.798823Z", + "shell.execute_reply.started": "2024-10-22T02:41:48.789404Z" }, "tags": [] }, @@ -2209,22 +2209,19 @@ "name": "stdout", "output_type": "stream", "text": [ - "节能环保工程技术中心 2.88 8\n", - "海洋工程设计所 2.74 6\n", - "工程监理公司 3.33 1\n", - "技术发展中心 2.67 1\n", - "综合服务中心 3.06 8\n", - "电力设计所 2.97 3\n", - "建筑设计所 3.0 3\n", - "管道工程设计所 2.62 12\n", - "工程勘察公司 2.97 9\n", - "智能化研究中心 2.87 8\n", - "机械设备设计所 3.09 7\n", - "自控通信设计所 3.44 1\n", - "档案管理中心 3.67 2\n", - "油气工艺设计所 3.36 4\n", - "水处理及热力工程设计所 2.28 2\n", - "运行管理部 3.0 1\n" + "监督审计部(纪委办公室) 2.79 6\n", + "计划信息部 3.74 3\n", + "合规管理部 3.67 1\n", + "商情研究室 3.12 1\n", + "本部 3.46 4\n", + "石化易贸科技有限公司 3.04 9\n", + "综合管理部 3.45 2\n", + "芳烃部 3.56 1\n", + "党委组织部(人力资源部) 3.62 2\n", + "合成材料部 3.76 6\n", + "财务部 3.61 2\n", + "战略合作部 2.89 1\n", + "外单位 2.98 5\n" ] } ], diff --git a/体测单位/天津石化.ipynb b/体测单位/天津石化.ipynb index f50f727..0bc730d 100644 --- a/体测单位/天津石化.ipynb +++ b/体测单位/天津石化.ipynb @@ -2869,15 +2869,15 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 30, "id": "2fdbadd7-e9b1-45bf-ae95-52b4d65e03e8", "metadata": { "execution": { - "iopub.execute_input": "2024-10-21T10:06:26.974537Z", - "iopub.status.busy": "2024-10-21T10:06:26.973770Z", - "iopub.status.idle": "2024-10-21T10:06:27.568893Z", - "shell.execute_reply": "2024-10-21T10:06:27.568360Z", - "shell.execute_reply.started": "2024-10-21T10:06:26.974467Z" + "iopub.execute_input": "2024-10-23T09:55:33.364069Z", + "iopub.status.busy": "2024-10-23T09:55:33.363405Z", + "iopub.status.idle": "2024-10-23T09:55:33.951219Z", + "shell.execute_reply": "2024-10-23T09:55:33.950610Z", + "shell.execute_reply.started": "2024-10-23T09:55:33.364010Z" } }, "outputs": [ @@ -2978,15 +2978,15 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 31, "id": "f922ad6a-e7ff-4ff9-923f-3e7aa8ea112b", "metadata": { "execution": { - "iopub.execute_input": "2024-10-21T10:06:44.171412Z", - "iopub.status.busy": "2024-10-21T10:06:44.170650Z", - "iopub.status.idle": "2024-10-21T10:06:44.271785Z", - "shell.execute_reply": "2024-10-21T10:06:44.271220Z", - "shell.execute_reply.started": "2024-10-21T10:06:44.171341Z" + "iopub.execute_input": "2024-10-23T09:55:59.147673Z", + "iopub.status.busy": "2024-10-23T09:55:59.146895Z", + "iopub.status.idle": "2024-10-23T09:55:59.282790Z", + "shell.execute_reply": "2024-10-23T09:55:59.282220Z", + "shell.execute_reply.started": "2024-10-23T09:55:59.147598Z" } }, "outputs": [ @@ -2994,8 +2994,8 @@ "name": "stdout", "output_type": "stream", "text": [ - "1500\n", - "1500\n" + "2284\n", + "2284\n" ] } ], @@ -3018,7 +3018,7 @@ "with open(filename,'r') as fl:\n", " dict1 = json.load(fl) \n", "\n", - "filename = 'data/places_result_20241021.csv'\n", + "filename = 'data/places_result_20241023.csv'\n", "with open(filename,'r',newline='') as csv_file:\n", " fl = csv.reader(csv_file,delimiter=',')\n", " header = next(fl) \n", @@ -3057,15 +3057,15 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 32, "id": "f59cf12c-d409-4de8-80f9-8264e4a2d221", "metadata": { "execution": { - "iopub.execute_input": "2024-10-21T10:06:58.056883Z", - "iopub.status.busy": "2024-10-21T10:06:58.056217Z", - "iopub.status.idle": "2024-10-21T10:06:58.205426Z", - "shell.execute_reply": "2024-10-21T10:06:58.204917Z", - "shell.execute_reply.started": "2024-10-21T10:06:58.056824Z" + "iopub.execute_input": "2024-10-23T09:56:07.021662Z", + "iopub.status.busy": "2024-10-23T09:56:07.021113Z", + "iopub.status.idle": "2024-10-23T09:56:07.230651Z", + "shell.execute_reply": "2024-10-23T09:56:07.230168Z", + "shell.execute_reply.started": "2024-10-23T09:56:07.021612Z" } }, "outputs": [], @@ -3074,8 +3074,8 @@ "import openpyxl\n", "\n", "items = ['身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n", - "title = ['编号','姓名','性别','单位','部门','身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n", - "\n", + "#title = ['编号','姓名','性别','单位','部门','身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n", + "title = ['编号','姓名','性别','单位','部门']\n", "filename = 'data/result_天津2024.json'\n", "with open(filename,'r') as fl:\n", " dict1 = json.load(fl)\n", @@ -3093,7 +3093,7 @@ " list2.append(dict2[k]['unit'])\n", " list2.append(dict2[k]['sub_unit'])\n", " list1.append(list2)\n", - "filename = 'data/天津石化体测情况(截至20241021).xlsx'\n", + "filename = 'data/天津石化体测情况(截至20241023).xlsx'\n", "wb = openpyxl.Workbook()\n", "sheet = wb.active\n", "sheet.append(title)\n", @@ -3113,15 +3113,15 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 33, "id": "8301201e-43fc-4d24-94a0-9c554ca39dfb", "metadata": { "execution": { - "iopub.execute_input": "2024-10-21T10:07:07.304706Z", - "iopub.status.busy": "2024-10-21T10:07:07.303931Z", - "iopub.status.idle": "2024-10-21T10:07:07.344670Z", - "shell.execute_reply": "2024-10-21T10:07:07.344247Z", - "shell.execute_reply.started": "2024-10-21T10:07:07.304631Z" + "iopub.execute_input": "2024-10-23T09:56:17.323294Z", + "iopub.status.busy": "2024-10-23T09:56:17.322526Z", + "iopub.status.idle": "2024-10-23T09:56:17.364386Z", + "shell.execute_reply": "2024-10-23T09:56:17.363829Z", + "shell.execute_reply.started": "2024-10-23T09:56:17.323222Z" } }, "outputs": [], @@ -3157,7 +3157,7 @@ " list2 = [k,v['人数']]\n", " list1.append(list2)\n", "\n", - "filename = 'data/天津部门未测试情况(截至20241021).xlsx'\n", + "filename = 'data/天津部门未测试情况(截至20241023).xlsx'\n", "wb = openpyxl.Workbook()\n", "sheet = wb.active\n", "sheet.append(title)\n",