20231129
This commit is contained in:
1 parent
1a04faf622
commit
726e423af1
1 file changed
+29
-296
+29
-296
@@ -280,28 +280,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 55,
|
||||
"execution_count": null,
|
||||
"id": "3e614f4a-a623-48e2-97f8-b31f62c9a983",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-27T14:42:23.209990Z",
|
||||
"iopub.status.busy": "2023-11-27T14:42:23.209527Z",
|
||||
"iopub.status.idle": "2023-11-27T14:42:23.312204Z",
|
||||
"shell.execute_reply": "2023-11-27T14:42:23.311477Z",
|
||||
"shell.execute_reply.started": "2023-11-27T14:42:23.209953Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"697\n",
|
||||
"697\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import datetime\n",
|
||||
@@ -335,7 +319,7 @@
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"\n",
|
||||
"filename = 'data/places_result_20231127.csv'\n",
|
||||
"filename = 'data/places_result_20231129.csv'\n",
|
||||
"with open(filename,'r',newline='') as csv_file:\n",
|
||||
" fl = csv.reader(csv_file,delimiter=',')\n",
|
||||
" header = next(fl) \n",
|
||||
@@ -392,27 +376,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 56,
|
||||
"execution_count": null,
|
||||
"id": "141b30dc-5975-4dcb-9bc3-9b20d26a0917",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-27T14:44:00.136662Z",
|
||||
"iopub.status.busy": "2023-11-27T14:44:00.136256Z",
|
||||
"iopub.status.idle": "2023-11-27T14:44:00.179733Z",
|
||||
"shell.execute_reply": "2023-11-27T14:44:00.179307Z",
|
||||
"shell.execute_reply.started": "2023-11-27T14:44:00.136631Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"ok!\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import time\n",
|
||||
@@ -588,27 +557,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 60,
|
||||
"execution_count": null,
|
||||
"id": "b123ee6b-85d2-4660-b226-321832a6b796",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-28T02:56:43.292615Z",
|
||||
"iopub.status.busy": "2023-11-28T02:56:43.292156Z",
|
||||
"iopub.status.idle": "2023-11-28T03:01:01.259260Z",
|
||||
"shell.execute_reply": "2023-11-28T03:01:01.258619Z",
|
||||
"shell.execute_reply.started": "2023-11-28T02:56:43.292577Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"719\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import requests\n",
|
||||
"import json\n",
|
||||
@@ -1278,26 +1232,10 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 39,
|
||||
"execution_count": null,
|
||||
"id": "46aa847d-e1fe-45bd-85b6-e2d792ec8842",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:15:23.965852Z",
|
||||
"iopub.status.busy": "2023-11-19T04:15:23.965390Z",
|
||||
"iopub.status.idle": "2023-11-19T04:15:24.167875Z",
|
||||
"shell.execute_reply": "2023-11-19T04:15:24.167415Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:15:23.965814Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"ok!\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import openpyxl\n",
|
||||
@@ -1372,29 +1310,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 41,
|
||||
"execution_count": null,
|
||||
"id": "63edd636-f034-4aa6-8575-63d5cdb84adb",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:16:52.956569Z",
|
||||
"iopub.status.busy": "2023-11-19T04:16:52.956105Z",
|
||||
"iopub.status.idle": "2023-11-19T04:16:52.971457Z",
|
||||
"shell.execute_reply": "2023-11-19T04:16:52.971050Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:16:52.956532Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"平均成绩:2.938分,男性:562人\n",
|
||||
"平均成绩:3.1399分,女性:135人\n",
|
||||
"平均成绩:2.9771分,总体:697人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1431,32 +1352,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 42,
|
||||
"execution_count": null,
|
||||
"id": "1b4a3f02-9b2e-41fc-ac6c-8163907a07f1",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:17.504074Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:17.503552Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:17.590028Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:17.589579Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:17.504036Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"0~255分人数:136人,男性:117人,女性:19人\n",
|
||||
"256~332分人数:357人,男性:298人,女性:59人\n",
|
||||
"333~367分人数:157人,男性:114人,女性:43人\n",
|
||||
"368~500分人数:47人,男性:33人,女性:14人\n",
|
||||
"697\n",
|
||||
"ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"\n",
|
||||
@@ -1502,34 +1403,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 43,
|
||||
"execution_count": null,
|
||||
"id": "2d661ca6-6129-4da1-ac25-51d0156babb2",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:30.617374Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:30.616981Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:30.630089Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:30.629679Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:30.617343Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {'合格': 6, '不合格': 3, '良好': 5}\n",
|
||||
"25-29 {'合格': 12, '不合格': 7, '良好': 4, '优秀': 2}\n",
|
||||
"30-34 {'不合格': 2, '合格': 12, '良好': 6, '优秀': 1}\n",
|
||||
"35-39 {'良好': 7, '合格': 7, '不合格': 2, '优秀': 0}\n",
|
||||
"40-44 {'合格': 2, '不合格': 2, '良好': 2, '优秀': 2}\n",
|
||||
"45-49 {'不合格': 3, '良好': 13, '合格': 18, '优秀': 4}\n",
|
||||
"50-54 {'良好': 6, '合格': 2, '不合格': 0, '优秀': 5}\n",
|
||||
"55-80 {'合格': 0, '不合格': 0, '优秀': 0, '良好': 0}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1569,34 +1448,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 44,
|
||||
"execution_count": null,
|
||||
"id": "fc97df37-34ff-4a02-9d26-b5d81b706e46",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:33.563101Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:33.562639Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:33.590068Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:33.589642Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:33.563065Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20-24 {'合格': 42, '不合格': 19, '良好': 7}\n",
|
||||
"25-29 {'合格': 37, '不合格': 22, '良好': 12, '优秀': 3}\n",
|
||||
"30-34 {'不合格': 13, '合格': 25, '良好': 9, '优秀': 3}\n",
|
||||
"35-39 {'良好': 20, '合格': 28, '不合格': 6, '优秀': 6}\n",
|
||||
"40-44 {'合格': 13, '不合格': 2, '良好': 3, '优秀': 1}\n",
|
||||
"45-49 {'不合格': 14, '良好': 14, '合格': 34, '优秀': 4}\n",
|
||||
"50-54 {'良好': 36, '合格': 88, '不合格': 28, '优秀': 9}\n",
|
||||
"55-80 {'合格': 31, '不合格': 13, '优秀': 7, '良好': 13}\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1636,34 +1493,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 50,
|
||||
"execution_count": null,
|
||||
"id": "dafb86f8-5ee0-4c87-a98f-c7ff0f631fe5",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:28:21.844350Z",
|
||||
"iopub.status.busy": "2023-11-19T04:28:21.843868Z",
|
||||
"iopub.status.idle": "2023-11-19T04:28:21.870039Z",
|
||||
"shell.execute_reply": "2023-11-19T04:28:21.868971Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:28:21.844314Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"16~24岁平均成绩:2.76分,人数:82人,男性:68人\n",
|
||||
"25~29岁平均成绩:2.87分,人数:99人,男性:74人\n",
|
||||
"30~34岁平均成绩:2.97分,人数:71人,男性:50人\n",
|
||||
"35~39岁平均成绩:3.11分,人数:76人,男性:60人\n",
|
||||
"40~44岁平均成绩:3.1分,人数:27人,男性:19人\n",
|
||||
"45~49岁平均成绩:3.06分,人数:104人,男性:66人\n",
|
||||
"50~54岁平均成绩:3.0分,人数:174人,男性:161人\n",
|
||||
"55~69岁平均成绩:3.02分,人数:64人,男性:64人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"nld = [[16,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,69]]\n",
|
||||
"\n",
|
||||
@@ -1698,34 +1533,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 46,
|
||||
"execution_count": null,
|
||||
"id": "347703a1-501b-4800-bd29-16e94f4a6793",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:42.065624Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:42.065169Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:42.091612Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:42.090300Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:42.065589Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:2.71分,人数:68人\n",
|
||||
"25~29岁平均成绩:2.85分,人数:74人\n",
|
||||
"30~34岁平均成绩:2.88分,人数:50人\n",
|
||||
"35~39岁平均成绩:3.12分,人数:60人\n",
|
||||
"40~44岁平均成绩:3.06分,人数:19人\n",
|
||||
"45~49岁平均成绩:2.99分,人数:66人\n",
|
||||
"50~54岁平均成绩:2.95分,人数:161人\n",
|
||||
"55~80岁平均成绩:3.02分,人数:64人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"\n",
|
||||
@@ -1760,33 +1573,10 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 47,
|
||||
"execution_count": null,
|
||||
"id": "5900d1c7-2f8c-4dfa-a60e-a577fb90f22d",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:45.081877Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:45.081422Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:45.108226Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:45.106800Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:45.081832Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"20~24岁平均成绩:2.99分,人数:14人\n",
|
||||
"25~29岁平均成绩:2.92分,人数:25人\n",
|
||||
"30~34岁平均成绩:3.17分,人数:21人\n",
|
||||
"35~39岁平均成绩:3.08分,人数:16人\n",
|
||||
"40~44岁平均成绩:3.21分,人数:8人\n",
|
||||
"45~49岁平均成绩:3.17分,人数:38人\n",
|
||||
"50~54岁平均成绩:3.6分,人数:13人\n",
|
||||
"55~80岁平均成绩:0分,人数:0人\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"nld = [[20,24],[25,29],[30,34],[35,39],[40,44],[45,49],[50,54],[55,80]]\n",
|
||||
"\n",
|
||||
@@ -1819,36 +1609,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 48,
|
||||
"execution_count": null,
|
||||
"id": "ad69c45d-3f62-42df-894d-47424e759029",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:48.260107Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:48.259591Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:48.287981Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:48.286662Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:48.260070Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"BMI 3.63 697\n",
|
||||
"肺活量 3.39 691\n",
|
||||
"握力 2.18 692\n",
|
||||
"坐位体前屈 2.76 668\n",
|
||||
"纵跳 2.81 642\n",
|
||||
"俯卧撑 3.19 499\n",
|
||||
"一分钟仰卧起坐 3.89 108\n",
|
||||
"单脚站立 2.63 684\n",
|
||||
"选择反应时 3.43 694\n",
|
||||
"台阶指数 2.69 540\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
@@ -1873,45 +1639,12 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 49,
|
||||
"execution_count": null,
|
||||
"id": "dcf152e7-bbcc-47d1-9c5f-83854db35412",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-19T04:17:52.977121Z",
|
||||
"iopub.status.busy": "2023-11-19T04:17:52.976658Z",
|
||||
"iopub.status.idle": "2023-11-19T04:17:53.002780Z",
|
||||
"shell.execute_reply": "2023-11-19T04:17:53.001310Z",
|
||||
"shell.execute_reply.started": "2023-11-19T04:17:52.977084Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"储运部 2.97 88\n",
|
||||
"电气仪表中心 3.03 26\n",
|
||||
"炼油二部 2.94 125\n",
|
||||
"炼油三部 2.92 76\n",
|
||||
"炼油一部 2.97 114\n",
|
||||
"安全环保部 2.72 15\n",
|
||||
"检验计量中心 3.03 76\n",
|
||||
"设备工程部 2.97 21\n",
|
||||
"公用工程部 2.96 44\n",
|
||||
"新上岗 2.72 25\n",
|
||||
"行政事务中心 2.95 4\n",
|
||||
"公司领导 3.33 4\n",
|
||||
"党群工作部 3.27 10\n",
|
||||
"发展计划部 3.07 14\n",
|
||||
"物资采购中心 3.1 13\n",
|
||||
"党委组织部 3.3 7\n",
|
||||
"生产技术部 3.05 19\n",
|
||||
"财务资产部 3.31 11\n",
|
||||
"办公室 3.33 5\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
|
||||
Reference in new issue
Block a user