This commit is contained in:
512song committed 2024-12-06 23:45:13 +08:00
1 parent 9c40a2b9f7
commit 1da757e355
5 files changed
+715 -646

No files matched your search

+17 -17
View File
@@ -2414,15 +2414,15 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 20,
"id": "1e2d586e-6ff5-4fd1-a909-278d23e54561",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-05T01:38:43.355077Z",
"iopub.status.busy": "2024-12-05T01:38:43.354336Z",
"iopub.status.idle": "2024-12-05T01:38:43.429440Z",
"shell.execute_reply": "2024-12-05T01:38:43.428824Z",
"shell.execute_reply.started": "2024-12-05T01:38:43.355007Z"
"iopub.execute_input": "2024-12-06T06:27:42.919559Z",
"iopub.status.busy": "2024-12-06T06:27:42.918788Z",
"iopub.status.idle": "2024-12-06T06:27:42.945858Z",
"shell.execute_reply": "2024-12-06T06:27:42.945012Z",
"shell.execute_reply.started": "2024-12-06T06:27:42.919489Z"
}
},
"outputs": [
@@ -2430,8 +2430,8 @@
"name": "stdout",
"output_type": "stream",
"text": [
"377\n",
"377\n"
"80\n",
"80\n"
]
}
],
@@ -2450,11 +2450,11 @@
"re_ta = {}\n",
"dict1 = {}\n",
"list1 = []\n",
"filename = 'data/长炼医院人员2024(汇总).json'\n",
"filename = 'data/湖南石化青年体质检测.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"\n",
"filename = 'data/places_result_20240929.csv'\n",
"filename = 'data/places_result_20241205-1.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -2492,15 +2492,15 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 21,
"id": "64c6e1e3-801c-4573-b78f-5a9e842597a9",
"metadata": {
"execution": {
"iopub.execute_input": "2024-12-05T01:39:11.222107Z",
"iopub.status.busy": "2024-12-05T01:39:11.221349Z",
"iopub.status.idle": "2024-12-05T01:39:11.314666Z",
"shell.execute_reply": "2024-12-05T01:39:11.314133Z",
"shell.execute_reply.started": "2024-12-05T01:39:11.222034Z"
"iopub.execute_input": "2024-12-06T06:28:00.400775Z",
"iopub.status.busy": "2024-12-06T06:28:00.400061Z",
"iopub.status.idle": "2024-12-06T06:28:00.445938Z",
"shell.execute_reply": "2024-12-06T06:28:00.445528Z",
"shell.execute_reply.started": "2024-12-06T06:28:00.400712Z"
}
},
"outputs": [],
@@ -2535,7 +2535,7 @@
" else:\n",
" list2.append('') \n",
" list1.append(list2)\n",
"filename = 'data/长炼医院人员检测情况表(20240930).xlsx'\n",
"filename = 'data/长炼医院人员检测情况表(湖南青年).xlsx'\n",
"wb = openpyxl.Workbook()\n",
"sheet = wb.active\n",
"sheet.append(title)\n",