20230925
This commit is contained in:
1 parent
56e145dd2c
commit
1c70fe4142
2 files changed
+725
-558
No files matched your search
+694
-527
File diff suppressed because it is too large.
Load diff
+31
-31
@@ -1600,15 +1600,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 68,
|
||||
"execution_count": 72,
|
||||
"id": "e26b88fc-c75b-4c1e-82ea-5017370afa9b",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-09-22T12:48:02.492251Z",
|
||||
"iopub.status.busy": "2023-09-22T12:48:02.491779Z",
|
||||
"iopub.status.idle": "2023-09-22T12:48:02.582589Z",
|
||||
"shell.execute_reply": "2023-09-22T12:48:02.582064Z",
|
||||
"shell.execute_reply.started": "2023-09-22T12:48:02.492220Z"
|
||||
"iopub.execute_input": "2023-09-25T12:16:50.686993Z",
|
||||
"iopub.status.busy": "2023-09-25T12:16:50.686526Z",
|
||||
"iopub.status.idle": "2023-09-25T12:16:50.830153Z",
|
||||
"shell.execute_reply": "2023-09-25T12:16:50.829708Z",
|
||||
"shell.execute_reply.started": "2023-09-25T12:16:50.686957Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1617,8 +1617,8 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"1512\n",
|
||||
"1512\n"
|
||||
"1802\n",
|
||||
"1802\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -1641,7 +1641,7 @@
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"\n",
|
||||
"filename = 'data/places_result_202309222047.csv'\n",
|
||||
"filename = 'data/places_result_20230925.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": 63,
|
||||
"execution_count": 73,
|
||||
"id": "0a6ea33d-c112-4ed8-9366-3376e55a5731",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-09-22T12:18:51.920834Z",
|
||||
"iopub.status.busy": "2023-09-22T12:18:51.920426Z",
|
||||
"iopub.status.idle": "2023-09-22T12:18:52.332209Z",
|
||||
"shell.execute_reply": "2023-09-22T12:18:52.331732Z",
|
||||
"shell.execute_reply.started": "2023-09-22T12:18:51.920803Z"
|
||||
"iopub.execute_input": "2023-09-25T12:17:04.814027Z",
|
||||
"iopub.status.busy": "2023-09-25T12:17:04.813631Z",
|
||||
"iopub.status.idle": "2023-09-25T12:17:05.300904Z",
|
||||
"shell.execute_reply": "2023-09-25T12:17:05.300403Z",
|
||||
"shell.execute_reply.started": "2023-09-25T12:17:04.813996Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1724,7 +1724,7 @@
|
||||
" else:\n",
|
||||
" list2.append('') \n",
|
||||
" list1.append(list2)\n",
|
||||
"filename = 'data/天津石化体测情况(截至20230922).xlsx'\n",
|
||||
"filename = 'data/天津石化体测情况(截至20230925).xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"sheet.append(title)\n",
|
||||
@@ -1744,15 +1744,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 71,
|
||||
"execution_count": 74,
|
||||
"id": "589a5d44-605d-41a1-a981-7ec7258305ed",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-09-22T13:13:20.386490Z",
|
||||
"iopub.status.busy": "2023-09-22T13:13:20.386276Z",
|
||||
"iopub.status.idle": "2023-09-22T13:13:20.415182Z",
|
||||
"shell.execute_reply": "2023-09-22T13:13:20.414705Z",
|
||||
"shell.execute_reply.started": "2023-09-22T13:13:20.386467Z"
|
||||
"iopub.execute_input": "2023-09-25T12:17:14.348675Z",
|
||||
"iopub.status.busy": "2023-09-25T12:17:14.348469Z",
|
||||
"iopub.status.idle": "2023-09-25T12:17:14.428313Z",
|
||||
"shell.execute_reply": "2023-09-25T12:17:14.427837Z",
|
||||
"shell.execute_reply.started": "2023-09-25T12:17:14.348661Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -1789,7 +1789,7 @@
|
||||
" list2 = [k,v['人数']]\n",
|
||||
" list1.append(list2)\n",
|
||||
"\n",
|
||||
"filename = 'data/天津部门未测试情况(截至20230922).xlsx'\n",
|
||||
"filename = 'data/天津部门未测试情况(截至20230925).xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"sheet.append(title)\n",
|
||||
@@ -1809,15 +1809,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 65,
|
||||
"execution_count": 77,
|
||||
"id": "2f7c9847-f283-4a09-b385-2c7559be7c7e",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-09-22T12:19:17.809672Z",
|
||||
"iopub.status.busy": "2023-09-22T12:19:17.809203Z",
|
||||
"iopub.status.idle": "2023-09-22T12:19:17.895139Z",
|
||||
"shell.execute_reply": "2023-09-22T12:19:17.894687Z",
|
||||
"shell.execute_reply.started": "2023-09-22T12:19:17.809635Z"
|
||||
"iopub.execute_input": "2023-09-25T12:25:08.512249Z",
|
||||
"iopub.status.busy": "2023-09-25T12:25:08.511711Z",
|
||||
"iopub.status.idle": "2023-09-25T12:25:08.594998Z",
|
||||
"shell.execute_reply": "2023-09-25T12:25:08.594472Z",
|
||||
"shell.execute_reply.started": "2023-09-25T12:25:08.512212Z"
|
||||
},
|
||||
"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 = '20230922'\n",
|
||||
"unit_name = '化工部'\n",
|
||||
"rq = '20230925'\n",
|
||||
"list1 = []\n",
|
||||
"\n",
|
||||
"i = 1\n",
|
||||
|
||||
Reference in new issue
Block a user