This commit is contained in:
512song committed 2023-07-01 15:10:05 +08:00
1 parent 3ad92718b0
commit 08121d7167
1 file changed
+24 -24
+24 -24
View File
@@ -72,15 +72,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 25,
"id": "5cea2f5e-37fc-4857-8455-090a634a1c0a", "id": "5cea2f5e-37fc-4857-8455-090a634a1c0a",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2023-06-21T07:13:31.520222Z", "iopub.execute_input": "2023-06-30T09:09:36.000292Z",
"iopub.status.busy": "2023-06-21T07:13:31.519385Z", "iopub.status.busy": "2023-06-30T09:09:35.999448Z",
"iopub.status.idle": "2023-06-21T07:13:31.624516Z", "iopub.status.idle": "2023-06-30T09:09:36.140715Z",
"shell.execute_reply": "2023-06-21T07:13:31.623557Z", "shell.execute_reply": "2023-06-30T09:09:36.139986Z",
"shell.execute_reply.started": "2023-06-21T07:13:31.520178Z" "shell.execute_reply.started": "2023-06-30T09:09:36.000249Z"
}, },
"tags": [] "tags": []
}, },
@@ -89,9 +89,9 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"1508\n", "1704\n",
"ok\n", "ok\n",
"1704\n" "2125\n"
] ]
} }
], ],
@@ -100,7 +100,7 @@
"import json\n", "import json\n",
"\n", "\n",
"\n", "\n",
"wb = openpyxl.load_workbook('data/长炼医院新增监测花名册(化工部).xlsx')\n", "wb = openpyxl.load_workbook('data/长炼医院新增监测花名册(炼油二部).xlsx')\n",
"sheet = wb.active\n", "sheet = wb.active\n",
"# sheets = wb.sheetnames\n", "# sheets = wb.sheetnames\n",
"filename = 'data/长炼医院人员名单.json'\n", "filename = 'data/长炼医院人员名单.json'\n",
@@ -139,15 +139,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 26,
"id": "4b52477e-926a-44b5-b8a0-20bff98d101d", "id": "4b52477e-926a-44b5-b8a0-20bff98d101d",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2023-06-26T08:39:29.685827Z", "iopub.execute_input": "2023-06-30T09:11:38.251783Z",
"iopub.status.busy": "2023-06-26T08:39:29.684965Z", "iopub.status.busy": "2023-06-30T09:11:38.251003Z",
"iopub.status.idle": "2023-06-26T08:39:29.730243Z", "iopub.status.idle": "2023-06-30T09:11:38.321383Z",
"shell.execute_reply": "2023-06-26T08:39:29.729345Z", "shell.execute_reply": "2023-06-30T09:11:38.320331Z",
"shell.execute_reply.started": "2023-06-26T08:39:29.685786Z" "shell.execute_reply.started": "2023-06-30T09:11:38.251750Z"
}, },
"tags": [] "tags": []
}, },
@@ -156,8 +156,8 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"154\n", "332\n",
"154\n" "332\n"
] ]
} }
], ],
@@ -179,7 +179,7 @@
"filename = 'data/长炼医院人员名单.json'\n", "filename = 'data/长炼医院人员名单.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"rq = '20230626'\n", "rq = '20230630'\n",
"filename = f'data/places_result_{rq}.csv'\n", "filename = f'data/places_result_{rq}.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n", "with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n", " fl = csv.reader(csv_file,delimiter=',')\n",
@@ -318,15 +318,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 27,
"id": "2ffa583b-be51-40a8-bb55-de6a89d1a54a", "id": "2ffa583b-be51-40a8-bb55-de6a89d1a54a",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2023-06-26T08:39:59.941503Z", "iopub.execute_input": "2023-06-30T09:11:56.865111Z",
"iopub.status.busy": "2023-06-26T08:39:59.940639Z", "iopub.status.busy": "2023-06-30T09:11:56.864246Z",
"iopub.status.idle": "2023-06-26T08:40:00.032505Z", "iopub.status.idle": "2023-06-30T09:11:56.990299Z",
"shell.execute_reply": "2023-06-26T08:40:00.031819Z", "shell.execute_reply": "2023-06-30T09:11:56.989605Z",
"shell.execute_reply.started": "2023-06-26T08:39:59.941463Z" "shell.execute_reply.started": "2023-06-30T09:11:56.865066Z"
}, },
"tags": [] "tags": []
}, },