This commit is contained in:
512song committed 2023-05-14 22:21:14 +08:00
1 parent 3c8e9c5157
commit c7c9e34af4
4 files changed
+467 -105

No files matched your search

+47 -28
View File
@@ -10,15 +10,15 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 19,
"id": "3154fc8c-0e91-4cda-ba75-666dc7bbb34d",
"metadata": {
"execution": {
"iopub.execute_input": "2023-04-26T02:09:17.305567Z",
"iopub.status.busy": "2023-04-26T02:09:17.304661Z",
"iopub.status.idle": "2023-04-26T02:09:17.783758Z",
"shell.execute_reply": "2023-04-26T02:09:17.782874Z",
"shell.execute_reply.started": "2023-04-26T02:09:17.305525Z"
"iopub.execute_input": "2023-05-08T07:53:19.491869Z",
"iopub.status.busy": "2023-05-08T07:53:19.491008Z",
"iopub.status.idle": "2023-05-08T07:53:19.954513Z",
"shell.execute_reply": "2023-05-08T07:53:19.953763Z",
"shell.execute_reply.started": "2023-05-08T07:53:19.491826Z"
},
"tags": []
},
@@ -72,15 +72,15 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 4,
"id": "4b52477e-926a-44b5-b8a0-20bff98d101d",
"metadata": {
"execution": {
"iopub.execute_input": "2023-05-05T13:53:58.994696Z",
"iopub.status.busy": "2023-05-05T13:53:58.993862Z",
"iopub.status.idle": "2023-05-05T13:53:59.019923Z",
"shell.execute_reply": "2023-05-05T13:53:59.019005Z",
"shell.execute_reply.started": "2023-05-05T13:53:58.994649Z"
"iopub.execute_input": "2023-05-11T11:36:58.352138Z",
"iopub.status.busy": "2023-05-11T11:36:58.351483Z",
"iopub.status.idle": "2023-05-11T11:36:58.370663Z",
"shell.execute_reply": "2023-05-11T11:36:58.369617Z",
"shell.execute_reply.started": "2023-05-11T11:36:58.352097Z"
},
"tags": []
},
@@ -89,8 +89,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"44\n",
"44\n"
"1\n",
"1\n"
]
}
],
@@ -112,7 +112,7 @@
"filename = 'data/长炼医院人员名单.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"rq = '20230505'\n",
"rq = '20230511'\n",
"filename = f'data/places_result_{rq}-clyy.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
@@ -143,10 +143,29 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "033cc564-4aa9-4e88-b38b-ec62a02b1661",
"metadata": {},
"outputs": [],
"metadata": {
"execution": {
"iopub.execute_input": "2023-05-10T12:20:49.147400Z",
"iopub.status.busy": "2023-05-10T12:20:49.146531Z",
"iopub.status.idle": "2023-05-10T12:20:49.171189Z",
"shell.execute_reply": "2023-05-10T12:20:49.170148Z",
"shell.execute_reply.started": "2023-05-10T12:20:49.147358Z"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2\n",
"2\n",
"12\n"
]
}
],
"source": [
"import json\n",
"import time\n",
@@ -162,11 +181,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",
"rq = '20230505'\n",
"filename = f'data/places_result_{rq}.csv'\n",
"#rq = '20230510'\n",
"filename = f'data/places_result_{rq}-clyy.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -219,15 +238,15 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 5,
"id": "2ffa583b-be51-40a8-bb55-de6a89d1a54a",
"metadata": {
"execution": {
"iopub.execute_input": "2023-05-05T13:54:34.525972Z",
"iopub.status.busy": "2023-05-05T13:54:34.525125Z",
"iopub.status.idle": "2023-05-05T13:54:34.570287Z",
"shell.execute_reply": "2023-05-05T13:54:34.569407Z",
"shell.execute_reply.started": "2023-05-05T13:54:34.525930Z"
"iopub.execute_input": "2023-05-11T11:37:13.952681Z",
"iopub.status.busy": "2023-05-11T11:37:13.951843Z",
"iopub.status.idle": "2023-05-11T11:37:13.978022Z",
"shell.execute_reply": "2023-05-11T11:37:13.977002Z",
"shell.execute_reply.started": "2023-05-11T11:37:13.952640Z"
},
"tags": []
},
@@ -236,7 +255,7 @@
"import json\n",
"import openpyxl\n",
"\n",
"rq = '20230505'\n",
"#rq = '20230510'\n",
"items = ['身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
"title = ['编号','姓名','性别','单位','身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
"filename = f'data/result_长炼医院({rq}).json'\n",