20241021
This commit is contained in:
1 parent
1473d61c69
commit
b62d5d2af0
4 files changed
+1391
-191
No files matched your search
+173
-123
@@ -1690,15 +1690,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 32,
|
||||
"execution_count": 33,
|
||||
"id": "63edd636-f034-4aa6-8575-63d5cdb84adb",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-10-14T04:27:43.990332Z",
|
||||
"iopub.status.busy": "2024-10-14T04:27:43.989558Z",
|
||||
"iopub.status.idle": "2024-10-14T04:27:44.001359Z",
|
||||
"shell.execute_reply": "2024-10-14T04:27:44.000019Z",
|
||||
"shell.execute_reply.started": "2024-10-14T04:27:43.990257Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1749,15 +1749,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 35,
|
||||
"id": "1b4a3f02-9b2e-41fc-ac6c-8163907a07f1",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:45:02.735772Z",
|
||||
"iopub.status.busy": "2024-07-22T10:45:02.734943Z",
|
||||
"iopub.status.idle": "2024-07-22T10:45:02.744313Z",
|
||||
"shell.execute_reply": "2024-07-22T10:45:02.743841Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:45:02.735697Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1766,11 +1766,11 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"0~255分人数:5人,男性:5人,女性:0人\n",
|
||||
"256~332分人数:12人,男性:9人,女性:3人\n",
|
||||
"333~367分人数:7人,男性:5人,女性:2人\n",
|
||||
"368~500分人数:3人,男性:3人,女性:0人\n",
|
||||
"27\n",
|
||||
"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",
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
@@ -1820,15 +1820,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 6,
|
||||
"execution_count": 36,
|
||||
"id": "2d661ca6-6129-4da1-ac25-51d0156babb2",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:46:27.176798Z",
|
||||
"iopub.status.busy": "2024-07-22T10:46:27.176057Z",
|
||||
"iopub.status.idle": "2024-07-22T10:46:27.187127Z",
|
||||
"shell.execute_reply": "2024-07-22T10:46:27.185934Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:46:27.176733Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1837,14 +1837,14 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {}\n",
|
||||
"25-29 {}\n",
|
||||
"30-34 {'良好': 0, '合格': 0, '不合格': 0}\n",
|
||||
"35-39 {'合格': 2, '良好': 1, '不合格': 0}\n",
|
||||
"40-44 {'合格': 0, '不合格': 0, '优秀': 0}\n",
|
||||
"45-49 {'合格': 1, '良好': 1}\n",
|
||||
"50-54 {'优秀': 0, '良好': 0, '合格': 0}\n",
|
||||
"55-80 {}\n"
|
||||
"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",
|
||||
"40-44 {'良好': 0, '合格': 2, '优秀': 1, '不合格': 0}\n",
|
||||
"45-49 {'优秀': 2, '合格': 0, '不合格': 0}\n",
|
||||
"50-54 {'良好': 1, '优秀': 2, '合格': 0}\n",
|
||||
"55-80 {'不合格': 0, '合格': 0}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -1887,15 +1887,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 7,
|
||||
"execution_count": 37,
|
||||
"id": "fc97df37-34ff-4a02-9d26-b5d81b706e46",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:47:20.732842Z",
|
||||
"iopub.status.busy": "2024-07-22T10:47:20.732121Z",
|
||||
"iopub.status.idle": "2024-07-22T10:47:20.742855Z",
|
||||
"shell.execute_reply": "2024-07-22T10:47:20.741614Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:47:20.732780Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1904,14 +1904,14 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {}\n",
|
||||
"25-29 {}\n",
|
||||
"30-34 {'良好': 1, '合格': 1, '不合格': 1}\n",
|
||||
"35-39 {'合格': 5, '良好': 1, '不合格': 2}\n",
|
||||
"40-44 {'合格': 2, '不合格': 2, '优秀': 2}\n",
|
||||
"45-49 {'合格': 0, '良好': 2}\n",
|
||||
"50-54 {'优秀': 1, '良好': 1, '合格': 1}\n",
|
||||
"55-80 {}\n"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -1954,15 +1954,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 8,
|
||||
"execution_count": 38,
|
||||
"id": "dafb86f8-5ee0-4c87-a98f-c7ff0f631fe5",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:48:15.458229Z",
|
||||
"iopub.status.busy": "2024-07-22T10:48:15.457408Z",
|
||||
"iopub.status.idle": "2024-07-22T10:48:15.466240Z",
|
||||
"shell.execute_reply": "2024-07-22T10:48:15.465077Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:48:15.458132Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1971,14 +1971,14 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"16~24岁平均成绩:0分,人数:0人,男性:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人,男性:0人\n",
|
||||
"30~34岁平均成绩:2.99分,人数:3人,男性:3人\n",
|
||||
"35~39岁平均成绩:2.83分,人数:11人,男性:8人\n",
|
||||
"40~44岁平均成绩:2.93分,人数:6人,男性:6人\n",
|
||||
"45~49岁平均成绩:3.48分,人数:4人,男性:2人\n",
|
||||
"50~54岁平均成绩:3.32分,人数:3人,男性:3人\n",
|
||||
"55~69岁平均成绩:0分,人数:0人,男性:0人\n"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -2016,15 +2016,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 39,
|
||||
"id": "347703a1-501b-4800-bd29-16e94f4a6793",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:50:50.918663Z",
|
||||
"iopub.status.busy": "2024-07-22T10:50:50.917861Z",
|
||||
"iopub.status.idle": "2024-07-22T10:50:50.928381Z",
|
||||
"shell.execute_reply": "2024-07-22T10:50:50.926718Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:50:50.918592Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -2033,14 +2033,14 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:0分,人数:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人\n",
|
||||
"30~34岁平均成绩:2.99分,人数:3人\n",
|
||||
"35~39岁平均成绩:2.69分,人数:8人\n",
|
||||
"40~44岁平均成绩:2.93分,人数:6人\n",
|
||||
"45~49岁平均成绩:3.58分,人数:2人\n",
|
||||
"50~54岁平均成绩:3.32分,人数:3人\n",
|
||||
"55~80岁平均成绩:0分,人数:0人\n"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -2078,15 +2078,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 10,
|
||||
"execution_count": 40,
|
||||
"id": "5900d1c7-2f8c-4dfa-a60e-a577fb90f22d",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:52:53.212864Z",
|
||||
"iopub.status.busy": "2024-07-22T10:52:53.212022Z",
|
||||
"iopub.status.idle": "2024-07-22T10:52:53.221736Z",
|
||||
"shell.execute_reply": "2024-07-22T10:52:53.220552Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:52:53.212784Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -2095,13 +2095,13 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:0分,人数:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人\n",
|
||||
"30~34岁平均成绩:0分,人数:0人\n",
|
||||
"35~39岁平均成绩:3.21分,人数:3人\n",
|
||||
"40~44岁平均成绩:0分,人数:0人\n",
|
||||
"45~49岁平均成绩:3.37分,人数:2人\n",
|
||||
"50~54岁平均成绩:0分,人数:0人\n",
|
||||
"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",
|
||||
"55~80岁平均成绩:0分,人数:0人\n"
|
||||
]
|
||||
}
|
||||
@@ -2138,15 +2138,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 42,
|
||||
"id": "ad69c45d-3f62-42df-894d-47424e759029",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T10:55:59.904472Z",
|
||||
"iopub.status.busy": "2024-07-22T10:55:59.903897Z",
|
||||
"iopub.status.idle": "2024-07-22T10:55:59.913494Z",
|
||||
"shell.execute_reply": "2024-07-22T10:55:59.912284Z",
|
||||
"shell.execute_reply.started": "2024-07-22T10:55:59.904418Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -2155,16 +2155,16 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"BMI 3.54 26\n",
|
||||
"肺活量 3.58 12\n",
|
||||
"握力 3.07 27\n",
|
||||
"坐位体前屈 2.6 25\n",
|
||||
"纵跳 2.76 25\n",
|
||||
"俯卧撑 2.9 21\n",
|
||||
"一分钟仰卧起坐 4.0 4\n",
|
||||
"单脚站立 3.11 27\n",
|
||||
"选择反应时 3.92 26\n",
|
||||
"台阶指数 1.84 25\n"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -2192,15 +2192,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 43,
|
||||
"id": "dcf152e7-bbcc-47d1-9c5f-83854db35412",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-07-22T11:15:19.511226Z",
|
||||
"iopub.status.busy": "2024-07-22T11:15:19.510450Z",
|
||||
"iopub.status.idle": "2024-07-22T11:15:19.519213Z",
|
||||
"shell.execute_reply": "2024-07-22T11:15:19.518187Z",
|
||||
"shell.execute_reply.started": "2024-07-22T11:15:19.511189Z"
|
||||
"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"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -2209,15 +2209,22 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"物探项目部 2.95 3\n",
|
||||
"经营办公室 3.24 3\n",
|
||||
"石油勘探项目部 2.91 7\n",
|
||||
"天然气及风险勘探项目部 2.87 8\n",
|
||||
"领导 2.25 1\n",
|
||||
"副总师 2.62 1\n",
|
||||
"综合办公室 3.65 2\n",
|
||||
"西南地区科考项目部借调人员 3.67 1\n",
|
||||
"安全生产办公室 3.78 1\n"
|
||||
"节能环保工程技术中心 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"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -2275,9 +2282,17 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 2,
|
||||
"id": "6f9768ce-2ef5-4253-9fc6-49dbdcf00a19",
|
||||
"metadata": {},
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-10-16T06:02:27.816265Z",
|
||||
"iopub.status.busy": "2024-10-16T06:02:27.815491Z",
|
||||
"iopub.status.idle": "2024-10-16T06:02:27.826371Z",
|
||||
"shell.execute_reply": "2024-10-16T06:02:27.825201Z",
|
||||
"shell.execute_reply.started": "2024-10-16T06:02:27.816192Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
@@ -2406,18 +2421,36 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 8,
|
||||
"id": "1acaf159-637e-4101-9881-f6bb79400136",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2024-10-16T06:09:09.005052Z",
|
||||
"iopub.status.busy": "2024-10-16T06:09:09.004252Z",
|
||||
"iopub.status.idle": "2024-10-16T06:09:09.036024Z",
|
||||
"shell.execute_reply": "2024-10-16T06:09:09.035535Z",
|
||||
"shell.execute_reply.started": "2024-10-16T06:09:09.004974Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"[['39', '特禀', False, 68, 31, 32, 12, 28, 29, 17, 28, 42], ['38', '平和', False, 81, 15, 14, 9, 6, 12, 10, 3, 0], ['8', '痰湿', True, 81, 21, 7, 6, 31, 29, 17, 14, 0], ['48', '阳虚', False, 62, 18, 42, 15, 9, 0, 10, 3, 0], ['47', '湿热', False, 34, 43, 57, 50, 68, 70, 39, 57, 46], ['42', '痰湿', False, 37, 75, 67, 68, 96, 83, 67, 92, 67], ['63', '阴虚', True, 78, 18, 10, 37, 34, 25, 10, 3, 10], ['190', '阳虚', False, 56, 28, 50, 18, 31, 25, 14, 32, 17], ['5', '阳虚', False, 56, 46, 57, 40, 50, 45, 28, 39, 28], ['43', '平和', False, 68, 28, 0, 6, 9, 4, 28, 17, 3], ['64', '阳虚', False, 65, 21, 64, 9, 18, 29, 14, 14, 7], ['25', '气虚', True, 68, 31, 14, 18, 6, 12, 3, 7, 0], ['19', '阴虚', False, 68, 25, 25, 46, 46, 16, 17, 25, 32], ['18', '阳虚', False, 62, 18, 42, 25, 37, 37, 39, 3, 3], ['16', '平和', False, 81, 18, 0, 6, 3, 20, 7, 0, 14], ['56', '痰湿', False, 50, 50, 50, 50, 53, 50, 32, 42, 0], ['75', '平和', False, 90, 3, 10, 0, 0, 16, 10, 10, 0], ['76', '阳虚', False, 34, 53, 82, 46, 59, 70, 67, 50, 35], ['24', '气虚', True, 62, 34, 25, 25, 25, 25, 28, 25, 25], ['23', '平和', False, 93, 15, 10, 25, 18, 8, 7, 3, 0], ['46', '气虚', True, 71, 31, 28, 25, 25, 25, 25, 25, 25], ['10', '平和', False, 93, 0, 0, 0, 0, 0, 0, 0, 0], ['189', '痰湿', False, 75, 28, 0, 40, 62, 33, 46, 42, 17], ['9', '气郁', False, 59, 31, 7, 40, 12, 0, 42, 50, 39], ['191', '阳虚', False, 31, 50, 89, 25, 65, 58, 46, 67, 50], ['11', '气虚', False, 59, 46, 25, 3, 0, 0, 3, 10, 0], ['192', '血瘀', False, 46, 53, 53, 53, 50, 50, 57, 50, 50], ['49', '阳虚', False, 56, 25, 53, 9, 9, 4, 32, 28, 17], ['51', '阴虚', True, 68, 34, 28, 37, 31, 37, 7, 32, 14], ['62', '气郁', False, 46, 40, 32, 34, 34, 29, 39, 60, 39], ['3', '气郁', False, 56, 15, 14, 12, 18, 0, 7, 35, 14], ['83', '湿热', False, 68, 37, 10, 43, 53, 54, 35, 42, 28], ['194', '阳虚', False, 65, 37, 71, 25, 43, 25, 28, 21, 32], ['67', '阴虚', True, 78, 21, 7, 37, 34, 20, 17, 14, 10], ['84', '气虚', False, 50, 56, 53, 37, 37, 37, 39, 32, 14], ['82', '气郁', False, 53, 53, 42, 31, 43, 37, 57, 67, 17], ['80', '湿热', False, 53, 40, 46, 43, 28, 50, 28, 46, 14], ['79', '气虚', False, 71, 46, 25, 28, 43, 33, 21, 32, 14], ['78', '气虚', False, 50, 50, 50, 50, 50, 50, 50, 50, 50], ['195', '阳虚', True, 68, 18, 35, 31, 31, 8, 17, 28, 28], ['58', '气虚', False, 56, 53, 21, 43, 28, 25, 50, 35, 25], ['66', '痰湿', False, 53, 40, 39, 37, 50, 41, 35, 25, 39], ['65', '湿热', False, 65, 21, 25, 25, 43, 54, 21, 17, 42], ['32', '平和', False, 65, 25, 7, 28, 25, 8, 17, 17, 14], ['45', '湿热', False, 75, 21, 10, 34, 34, 58, 39, 32, 35], ['71', '痰湿', True, 62, 34, 28, 25, 37, 29, 21, 35, 28], ['54', '痰湿', False, 46, 40, 32, 18, 59, 20, 35, 39, 35], ['21', '平和', False, 100, 0, 0, 0, 0, 0, 0, 0, 0], ['68', '阳虚', False, 59, 25, 60, 15, 21, 25, 14, 21, 7], ['31', '阳虚', True, 71, 25, 39, 21, 21, 8, 21, 14, 28], ['44', '气虚', False, 62, 50, 39, 31, 25, 45, 7, 17, 14], ['29', '痰湿', False, 37, 50, 32, 50, 62, 45, 32, 46, 42], ['50', '阳虚', False, 78, 18, 42, 9, 21, 37, 3, 3, 32], ['34', '痰湿', False, 78, 31, 46, 40, 78, 37, 25, 50, 35], ['57', '阳虚', False, 43, 59, 64, 43, 46, 58, 42, 35, 35], ['200', '特禀', True, 81, 15, 7, 21, 15, 33, 17, 17, 35], ['12', '气虚', False, 50, 53, 50, 34, 46, 37, 28, 39, 28], ['13', '痰湿', False, 46, 56, 42, 46, 62, 50, 42, 42, 28]]\n",
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import openpyxl\n",
|
||||
"\n",
|
||||
"filename = 'data/result_东营工程设计院2024_all.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"i = 1\n",
|
||||
"list2 = []\n",
|
||||
"for k, v in dict1.items():\n",
|
||||
" if 'tcm' in v.keys():\n",
|
||||
" list1 = []\n",
|
||||
@@ -2429,8 +2462,25 @@
|
||||
" result = tcm_kind(score)\n",
|
||||
" kind = result['kind']\n",
|
||||
" near = result['near']\n",
|
||||
" print(i,k,kinds[kind], near, score)\n",
|
||||
" i+=1"
|
||||
" #print(i,k,kinds[kind], near, score)\n",
|
||||
" #i+=1\n",
|
||||
" list3 = []\n",
|
||||
" list3.append(k)\n",
|
||||
" list3.append(kinds[kind])\n",
|
||||
" list3.append(near)\n",
|
||||
" for item in score:\n",
|
||||
" list3.append(item)\n",
|
||||
" list2.append(list3)\n",
|
||||
"print(list2)\n",
|
||||
"filename = 'data/东营工程设计院中医情况明细表.xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"\n",
|
||||
"for row in list2:\n",
|
||||
" sheet.append(row)\n",
|
||||
" \n",
|
||||
"wb.save(filename)\n",
|
||||
"print('ok') "
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user