20250703
This commit is contained in:
1 parent
b58fc4376a
commit
321337fdda
6 files changed
+1101
-479
No files matched your search
+299
-50
@@ -391,16 +391,32 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 37,
|
||||
"id": "d6498431-2103-4d27-bba9-f1669b710361",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-07-02T07:57:16.226394Z",
|
||||
"iopub.status.busy": "2025-07-02T07:57:16.225723Z",
|
||||
"iopub.status.idle": "2025-07-02T07:57:16.244956Z",
|
||||
"shell.execute_reply": "2025-07-02T07:57:16.244165Z",
|
||||
"shell.execute_reply.started": "2025-07-02T07:57:16.226327Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"('345321','1787376','pushup','2','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1787128','pushup','2','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789517','pushup','2','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786135','pushup','3','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789748','pushup','3','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3530344','pushup','4','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786084','pushup','5','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788859','pushup','5','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783509','pushup','5','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1782462','pushup','5','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788929','pushup','6','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789072','pushup','6','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1782596','pushup','6','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1780972','pushup','7','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786095','pushup','8','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788116','pushup','8','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783917','pushup','8','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786562','pushup','9','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1787804','pushup','9','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1782395','pushup','10','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1782049','pushup','10','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783534','pushup','10','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783827','pushup','10','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783263','pushup','10','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3540299','pushup','11','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789560','pushup','11','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786102','pushup','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788660','pushup','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1780017','pushup','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789307','pushup','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788676','pushup','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788744','pushup','14','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786234','pushup','14','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3530368','pushup','14','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1789685','pushup','14','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1785410','pushup','15','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783124','pushup','15','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788788','pushup','15','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788120','pushup','15','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1795937','pushup','15','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786639','pushup','16','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3540355','pushup','18','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788685','pushup','19','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3470775','pushup','20','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786153','pushup','21','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3566780','pushup','22','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3438972','pushup','28','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3566790','pushup','29','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3566668','pushup','29','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786252','pushup','30','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1783259','pushup','31','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3219236','pushup','34','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788226','pushup','40','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788113','pushup','40','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3540363','pushup','47','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786183','pushup','52','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','3502448','pushup','62','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1786259','pushup','101','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1787741','situp','12','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1784476','situp','17','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1788718','situp','19','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1785742','situp','24','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1787496','bmi','155.0,65.0','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1780280','bmi','173.0,85.0','2025-07-02','2025-07-02 16:00:00.000 +0800'),('None','1Line truncated
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import openpyxl\n",
|
||||
"import json\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"wb = openpyxl.load_workbook('data/手工数据3.xlsx',data_only=True)\n",
|
||||
"wb = openpyxl.load_workbook('data/手工数据4.xlsx',data_only=True)\n",
|
||||
"sheet = wb.active\n",
|
||||
"s = ''\n",
|
||||
"list1 = []\n",
|
||||
@@ -835,12 +851,12 @@
|
||||
"import glob\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"fi_path = '/home/songyi/pdf-typescript-old2/东营石油设计院2025'\n",
|
||||
"new_path = 'file/东营石油设计院2025'\n",
|
||||
"fi_path = '/home/songyi/pdf-typescript-old2/东营胜利宾馆'\n",
|
||||
"new_path = 'file/东营胜利宾馆'\n",
|
||||
"old = []\n",
|
||||
"dict2 = {}\n",
|
||||
"\n",
|
||||
"filename = 'data/result_东营石油工程设计院2025.json'\n",
|
||||
"filename = 'data/result_东营胜利宾馆.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl)\n",
|
||||
"fls = glob.glob(f'{fi_path}/*.pdf')\n",
|
||||
@@ -866,12 +882,27 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 24,
|
||||
"id": "02319955-7fb6-4791-ae45-55b03bdadd54",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T02:26:40.883312Z",
|
||||
"iopub.status.busy": "2025-06-30T02:26:40.882740Z",
|
||||
"iopub.status.idle": "2025-06-30T02:26:40.906024Z",
|
||||
"shell.execute_reply": "2025-06-30T02:26:40.905551Z",
|
||||
"shell.execute_reply.started": "2025-06-30T02:26:40.883256Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import os,sys,shutil\n",
|
||||
"import json\n",
|
||||
@@ -879,9 +910,9 @@
|
||||
"from pathlib import Path\n",
|
||||
"import openpyxl\n",
|
||||
"\n",
|
||||
"fi_path = '/home/songyi/pdf-typescript-old2/东营石油设计院2025'\n",
|
||||
"fi_path = '/home/songyi/pdf-typescript-old2/东营胜利宾馆'\n",
|
||||
"\n",
|
||||
"filename = 'data/result_东营石油工程设计院2025.json'\n",
|
||||
"filename = 'data/result_东营胜利宾馆.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl)\n",
|
||||
"fls = glob.glob(f'{fi_path}/*.pdf')\n",
|
||||
@@ -897,7 +928,7 @@
|
||||
" \n",
|
||||
" list1.append(list2)\n",
|
||||
"\n",
|
||||
"filename = 'data/东营石油工程设计院2025年体测报告明细表.xlsx'\n",
|
||||
"filename = 'data/东营胜利宾馆体测报告明细表.xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"sheet.append(title)\n",
|
||||
@@ -1552,16 +1583,32 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 25,
|
||||
"id": "46aa847d-e1fe-45bd-85b6-e2d792ec8842",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:25:50.554226Z",
|
||||
"iopub.status.busy": "2025-06-30T03:25:50.553608Z",
|
||||
"iopub.status.idle": "2025-06-30T03:25:50.575194Z",
|
||||
"shell.execute_reply": "2025-06-30T03:25:50.574507Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:25:50.554173Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"70\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import openpyxl\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"filename = 'data/result_宁夏能化人员all.json'\n",
|
||||
"filename = 'data/result_东营胜利宾馆.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl)\n",
|
||||
"\n",
|
||||
@@ -1614,7 +1661,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_宁夏能化人员.json'\n",
|
||||
"filename = f'data/data_东营胜利宾馆.json'\n",
|
||||
"with open(filename,'w') as fl:\n",
|
||||
" json.dump(dict2,fl , ensure_ascii=False) \n",
|
||||
"print(len(dict2)) "
|
||||
@@ -1630,17 +1677,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 26,
|
||||
"id": "63edd636-f034-4aa6-8575-63d5cdb84adb",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:25:56.345990Z",
|
||||
"iopub.status.busy": "2025-06-30T03:25:56.345178Z",
|
||||
"iopub.status.idle": "2025-06-30T03:25:56.355811Z",
|
||||
"shell.execute_reply": "2025-06-30T03:25:56.354676Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:25:56.345906Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"平均成绩:2.8165分,男性:34人\n",
|
||||
"平均成绩:3.0694分,女性:36人\n",
|
||||
"平均成绩:2.9466分,总体:70人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"\n",
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"filename = 'data/data_宁夏能化人员.json'\n",
|
||||
"filename = 'data/data_东营胜利宾馆.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"i = 1\n",
|
||||
@@ -1674,12 +1738,32 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 27,
|
||||
"id": "1b4a3f02-9b2e-41fc-ac6c-8163907a07f1",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:26:28.871704Z",
|
||||
"iopub.status.busy": "2025-06-30T03:26:28.871155Z",
|
||||
"iopub.status.idle": "2025-06-30T03:26:28.887396Z",
|
||||
"shell.execute_reply": "2025-06-30T03:26:28.886702Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:26:28.871647Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"0~255分人数:12人,男性:9人,女性:3人\n",
|
||||
"256~332分人数:38人,男性:19人,女性:19人\n",
|
||||
"333~367分人数:16人,男性:5人,女性:11人\n",
|
||||
"368~500分人数:4人,男性:1人,女性:3人\n",
|
||||
"70\n",
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"\n",
|
||||
@@ -1725,12 +1809,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 28,
|
||||
"id": "2d661ca6-6129-4da1-ac25-51d0156babb2",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:27:10.453095Z",
|
||||
"iopub.status.busy": "2025-06-30T03:27:10.452579Z",
|
||||
"iopub.status.idle": "2025-06-30T03:27:10.463588Z",
|
||||
"shell.execute_reply": "2025-06-30T03:27:10.462674Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:27:10.453043Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {}\n",
|
||||
"25-29 {}\n",
|
||||
"30-34 {'合格': 1}\n",
|
||||
"35-39 {'合格': 5, '良好': 1, '不合格': 1}\n",
|
||||
"40-44 {'良好': 4, '不合格': 2, '优秀': 1, '合格': 3}\n",
|
||||
"45-49 {'合格': 9, '优秀': 2, '良好': 5, '不合格': 0}\n",
|
||||
"50-54 {'合格': 1, '不合格': 0, '优秀': 0, '良好': 1}\n",
|
||||
"55-80 {'良好': 0, '不合格': 0, '合格': 0}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1770,12 +1876,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 29,
|
||||
"id": "fc97df37-34ff-4a02-9d26-b5d81b706e46",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:28:43.794940Z",
|
||||
"iopub.status.busy": "2025-06-30T03:28:43.794179Z",
|
||||
"iopub.status.idle": "2025-06-30T03:28:43.804569Z",
|
||||
"shell.execute_reply": "2025-06-30T03:28:43.803453Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:28:43.794866Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {}\n",
|
||||
"25-29 {}\n",
|
||||
"30-34 {'合格': 1}\n",
|
||||
"35-39 {'合格': 2, '良好': 0, '不合格': 0}\n",
|
||||
"40-44 {'良好': 1, '不合格': 0, '优秀': 0, '合格': 2}\n",
|
||||
"45-49 {'合格': 6, '优秀': 0, '良好': 1, '不合格': 5}\n",
|
||||
"50-54 {'合格': 6, '不合格': 2, '优秀': 1, '良好': 2}\n",
|
||||
"55-80 {'良好': 1, '不合格': 2, '合格': 2}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1815,12 +1943,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 30,
|
||||
"id": "dafb86f8-5ee0-4c87-a98f-c7ff0f631fe5",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:31:08.238140Z",
|
||||
"iopub.status.busy": "2025-06-30T03:31:08.237468Z",
|
||||
"iopub.status.idle": "2025-06-30T03:31:08.249928Z",
|
||||
"shell.execute_reply": "2025-06-30T03:31:08.248854Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:31:08.238077Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"16~24岁平均成绩:0分,人数:0人,男性:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人,男性:0人\n",
|
||||
"30~34岁平均成绩:2.73分,人数:2人,男性:1人\n",
|
||||
"35~39岁平均成绩:2.94分,人数:9人,男性:2人\n",
|
||||
"40~44岁平均成绩:3.04分,人数:13人,男性:3人\n",
|
||||
"45~49岁平均成绩:2.95分,人数:28人,男性:12人\n",
|
||||
"50~54岁平均成绩:3.01分,人数:13人,男性:11人\n",
|
||||
"55~69岁平均成绩:2.64分,人数:5人,男性:5人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"nld = [[16,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,69]]\n",
|
||||
"\n",
|
||||
@@ -1855,12 +2005,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 31,
|
||||
"id": "347703a1-501b-4800-bd29-16e94f4a6793",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:33:02.816587Z",
|
||||
"iopub.status.busy": "2025-06-30T03:33:02.815993Z",
|
||||
"iopub.status.idle": "2025-06-30T03:33:02.824768Z",
|
||||
"shell.execute_reply": "2025-06-30T03:33:02.823787Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:33:02.816525Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:0分,人数:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人\n",
|
||||
"30~34岁平均成绩:2.56分,人数:1人\n",
|
||||
"35~39岁平均成绩:3.24分,人数:2人\n",
|
||||
"40~44岁平均成绩:3.18分,人数:3人\n",
|
||||
"45~49岁平均成绩:2.62分,人数:12人\n",
|
||||
"50~54岁平均成绩:2.96分,人数:11人\n",
|
||||
"55~80岁平均成绩:2.64分,人数:5人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"\n",
|
||||
@@ -1895,12 +2067,34 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 32,
|
||||
"id": "5900d1c7-2f8c-4dfa-a60e-a577fb90f22d",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:34:15.938497Z",
|
||||
"iopub.status.busy": "2025-06-30T03:34:15.937943Z",
|
||||
"iopub.status.idle": "2025-06-30T03:34:15.949638Z",
|
||||
"shell.execute_reply": "2025-06-30T03:34:15.948577Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:34:15.938442Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:0分,人数:0人\n",
|
||||
"25~29岁平均成绩:0分,人数:0人\n",
|
||||
"30~34岁平均成绩:2.89分,人数:1人\n",
|
||||
"35~39岁平均成绩:2.86分,人数:7人\n",
|
||||
"40~44岁平均成绩:3.0分,人数:10人\n",
|
||||
"45~49岁平均成绩:3.19分,人数:16人\n",
|
||||
"50~54岁平均成绩:3.28分,人数:2人\n",
|
||||
"55~80岁平均成绩:0分,人数:0人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1933,12 +2127,36 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 33,
|
||||
"id": "ad69c45d-3f62-42df-894d-47424e759029",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:38:18.058882Z",
|
||||
"iopub.status.busy": "2025-06-30T03:38:18.058174Z",
|
||||
"iopub.status.idle": "2025-06-30T03:38:18.070777Z",
|
||||
"shell.execute_reply": "2025-06-30T03:38:18.069764Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:38:18.058815Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"BMI 3.66 70\n",
|
||||
"肺活量 3.67 70\n",
|
||||
"握力 2.64 69\n",
|
||||
"坐位体前屈 2.69 68\n",
|
||||
"纵跳 2.6 67\n",
|
||||
"俯卧撑 2.93 28\n",
|
||||
"一分钟仰卧起坐 3.65 34\n",
|
||||
"单脚站立 2.19 70\n",
|
||||
"选择反应时 3.41 70\n",
|
||||
"台阶指数 2.48 63\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
@@ -1963,12 +2181,43 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 34,
|
||||
"id": "dcf152e7-bbcc-47d1-9c5f-83854db35412",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-30T03:39:23.962598Z",
|
||||
"iopub.status.busy": "2025-06-30T03:39:23.961860Z",
|
||||
"iopub.status.idle": "2025-06-30T03:39:23.970708Z",
|
||||
"shell.execute_reply": "2025-06-30T03:39:23.969751Z",
|
||||
"shell.execute_reply.started": "2025-06-30T03:39:23.962527Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"安全(QHSE)管理督查部 3.06 2\n",
|
||||
"综合保障服务部 3.04 6\n",
|
||||
"餐饮部 2.86 21\n",
|
||||
"市场营销部 3.18 5\n",
|
||||
"后勤服务技能鉴定站 3.17 2\n",
|
||||
"综合管理部 2.81 5\n",
|
||||
"展厅服务部 3.0 1\n",
|
||||
"经理、党委副书记 3.33 1\n",
|
||||
"安全总监 3.78 1\n",
|
||||
"信息化服务部 3.11 5\n",
|
||||
"人力资源总监 3.0 1\n",
|
||||
"人力资源(组织)部 2.56 1\n",
|
||||
"副经理 2.56 2\n",
|
||||
"协理员 1.71 1\n",
|
||||
"经营管理部 2.82 3\n",
|
||||
"客房部 2.89 10\n",
|
||||
"会务部 3.4 3\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
@@ -2127,15 +2376,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 19,
|
||||
"execution_count": 35,
|
||||
"id": "6f9768ce-2ef5-4253-9fc6-49dbdcf00a19",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-29T01:27:37.201286Z",
|
||||
"iopub.status.busy": "2025-06-29T01:27:37.200533Z",
|
||||
"iopub.status.idle": "2025-06-29T01:27:37.211946Z",
|
||||
"shell.execute_reply": "2025-06-29T01:27:37.211395Z",
|
||||
"shell.execute_reply.started": "2025-06-29T01:27:37.201222Z"
|
||||
"iopub.execute_input": "2025-06-30T06:04:34.269580Z",
|
||||
"iopub.status.busy": "2025-06-30T06:04:34.268925Z",
|
||||
"iopub.status.idle": "2025-06-30T06:04:34.282224Z",
|
||||
"shell.execute_reply": "2025-06-30T06:04:34.281280Z",
|
||||
"shell.execute_reply.started": "2025-06-30T06:04:34.269514Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
@@ -2477,15 +2726,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 21,
|
||||
"execution_count": 36,
|
||||
"id": "9ecd3ad8-c8af-4f3e-90e5-1618fea905a4",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-06-29T01:39:49.263673Z",
|
||||
"iopub.status.busy": "2025-06-29T01:39:49.263044Z",
|
||||
"iopub.status.idle": "2025-06-29T01:39:49.297534Z",
|
||||
"shell.execute_reply": "2025-06-29T01:39:49.297056Z",
|
||||
"shell.execute_reply.started": "2025-06-29T01:39:49.263597Z"
|
||||
"iopub.execute_input": "2025-06-30T06:04:41.412312Z",
|
||||
"iopub.status.busy": "2025-06-30T06:04:41.411683Z",
|
||||
"iopub.status.idle": "2025-06-30T06:04:41.442284Z",
|
||||
"shell.execute_reply": "2025-06-30T06:04:41.441732Z",
|
||||
"shell.execute_reply.started": "2025-06-30T06:04:41.412252Z"
|
||||
}
|
||||
},
|
||||
"outputs": [],
|
||||
@@ -2493,7 +2742,7 @@
|
||||
"import openpyxl\n",
|
||||
"\n",
|
||||
"list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp']\n",
|
||||
"filename = 'data/result_海淀区老干部大学第一期-1.json'\n",
|
||||
"filename = 'data/result_海淀区老干部大学第二期-1.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"data_list = []\n",
|
||||
@@ -2575,7 +2824,7 @@
|
||||
" list6.append('')\n",
|
||||
" i+=1\n",
|
||||
" data_list.append(list6)\n",
|
||||
"filename = 'data/海淀区老干部大学第一期测试情况表.xlsx'\n",
|
||||
"filename = 'data/海淀区老干部大学第二期测试情况表.xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"#sheet.append(title)\n",
|
||||
|
||||
Reference in new issue
Block a user