This commit is contained in:
512song committed 2023-10-05 21:13:48 +08:00
1 parent c602f3853c
commit 19dc6ed276
5 files changed
+469 -94

No files matched your search

+37 -37
View File
@@ -1505,15 +1505,15 @@
},
{
"cell_type": "code",
"execution_count": 84,
"execution_count": 91,
"id": "25283932-c03a-4a34-a59d-314fc64d8fbd",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T09:27:20.543608Z",
"iopub.status.busy": "2023-09-27T09:27:20.543145Z",
"iopub.status.idle": "2023-09-27T09:27:21.242939Z",
"shell.execute_reply": "2023-09-27T09:27:21.242479Z",
"shell.execute_reply.started": "2023-09-27T09:27:20.543572Z"
"iopub.execute_input": "2023-09-28T08:14:54.967853Z",
"iopub.status.busy": "2023-09-28T08:14:54.967348Z",
"iopub.status.idle": "2023-09-28T08:14:55.646142Z",
"shell.execute_reply": "2023-09-28T08:14:55.645690Z",
"shell.execute_reply.started": "2023-09-28T08:14:54.967794Z"
},
"tags": []
},
@@ -1600,15 +1600,15 @@
},
{
"cell_type": "code",
"execution_count": 85,
"execution_count": 93,
"id": "e26b88fc-c75b-4c1e-82ea-5017370afa9b",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T09:27:32.161757Z",
"iopub.status.busy": "2023-09-27T09:27:32.161547Z",
"iopub.status.idle": "2023-09-27T09:27:32.294821Z",
"shell.execute_reply": "2023-09-27T09:27:32.294362Z",
"shell.execute_reply.started": "2023-09-27T09:27:32.161743Z"
"iopub.execute_input": "2023-09-28T08:15:07.879075Z",
"iopub.status.busy": "2023-09-28T08:15:07.878681Z",
"iopub.status.idle": "2023-09-28T08:15:08.111382Z",
"shell.execute_reply": "2023-09-28T08:15:08.110857Z",
"shell.execute_reply.started": "2023-09-28T08:15:07.879044Z"
},
"tags": []
},
@@ -1617,8 +1617,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2542\n",
"2542\n"
"2816\n",
"2816\n"
]
}
],
@@ -1641,7 +1641,7 @@
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"\n",
"filename = 'data/places_result_20230927.csv'\n",
"filename = 'data/places_result_20230928.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -1680,15 +1680,15 @@
},
{
"cell_type": "code",
"execution_count": 86,
"execution_count": 94,
"id": "0a6ea33d-c112-4ed8-9366-3376e55a5731",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T09:28:05.780297Z",
"iopub.status.busy": "2023-09-27T09:28:05.779887Z",
"iopub.status.idle": "2023-09-27T09:28:06.469706Z",
"shell.execute_reply": "2023-09-27T09:28:06.469235Z",
"shell.execute_reply.started": "2023-09-27T09:28:05.780266Z"
"iopub.execute_input": "2023-09-28T08:15:20.956628Z",
"iopub.status.busy": "2023-09-28T08:15:20.956374Z",
"iopub.status.idle": "2023-09-28T08:15:21.702196Z",
"shell.execute_reply": "2023-09-28T08:15:21.701702Z",
"shell.execute_reply.started": "2023-09-28T08:15:20.956609Z"
},
"tags": []
},
@@ -1724,7 +1724,7 @@
" else:\n",
" list2.append('') \n",
" list1.append(list2)\n",
"filename = 'data/天津石化体测情况(截至20230927).xlsx'\n",
"filename = 'data/天津石化体测情况(截至20230928).xlsx'\n",
"wb = openpyxl.Workbook()\n",
"sheet = wb.active\n",
"sheet.append(title)\n",
@@ -1744,15 +1744,15 @@
},
{
"cell_type": "code",
"execution_count": 87,
"execution_count": 95,
"id": "589a5d44-605d-41a1-a981-7ec7258305ed",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T09:28:15.981879Z",
"iopub.status.busy": "2023-09-27T09:28:15.981612Z",
"iopub.status.idle": "2023-09-27T09:28:16.042203Z",
"shell.execute_reply": "2023-09-27T09:28:16.040772Z",
"shell.execute_reply.started": "2023-09-27T09:28:15.981860Z"
"iopub.execute_input": "2023-09-28T08:16:59.146067Z",
"iopub.status.busy": "2023-09-28T08:16:59.145853Z",
"iopub.status.idle": "2023-09-28T08:16:59.182933Z",
"shell.execute_reply": "2023-09-28T08:16:59.182479Z",
"shell.execute_reply.started": "2023-09-28T08:16:59.146053Z"
},
"tags": []
},
@@ -1789,7 +1789,7 @@
" list2 = [k,v['人数']]\n",
" list1.append(list2)\n",
"\n",
"filename = 'data/天津部门未测试情况(截至20230927).xlsx'\n",
"filename = 'data/天津部门未测试情况(截至20230928).xlsx'\n",
"wb = openpyxl.Workbook()\n",
"sheet = wb.active\n",
"sheet.append(title)\n",
@@ -1809,15 +1809,15 @@
},
{
"cell_type": "code",
"execution_count": 90,
"execution_count": 98,
"id": "2f7c9847-f283-4a09-b385-2c7559be7c7e",
"metadata": {
"execution": {
"iopub.execute_input": "2023-09-27T09:32:32.610462Z",
"iopub.status.busy": "2023-09-27T09:32:32.610068Z",
"iopub.status.idle": "2023-09-27T09:32:32.652697Z",
"shell.execute_reply": "2023-09-27T09:32:32.652219Z",
"shell.execute_reply.started": "2023-09-27T09:32:32.610432Z"
"iopub.execute_input": "2023-09-28T08:18:55.583592Z",
"iopub.status.busy": "2023-09-28T08:18:55.583111Z",
"iopub.status.idle": "2023-09-28T08:18:55.648596Z",
"shell.execute_reply": "2023-09-28T08:18:55.647144Z",
"shell.execute_reply.started": "2023-09-28T08:18:55.583543Z"
},
"tags": []
},
@@ -1833,8 +1833,8 @@
"filename = 'data/天津石化人员名单2023.json'\n",
"with open(filename,'r') as fl:\n",
" dict2 = json.load(fl)\n",
"unit_name = '化工部'\n",
"rq = '20230927'\n",
"unit_name = '烯烃部'\n",
"rq = '20230928'\n",
"list1 = []\n",
"\n",
"i = 1\n",