This commit is contained in:
512song committed 2025-07-23 19:14:18 +08:00
1 parent 321337fdda
commit f753563cc6
3 files changed
+143 -165

No files matched your search

@@ -10,15 +10,15 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 21,
"id": "bbba6efc-73cd-4db6-bae7-014724fee731",
"metadata": {
"execution": {
"iopub.execute_input": "2025-07-02T07:56:23.192197Z",
"iopub.status.busy": "2025-07-02T07:56:23.191439Z",
"iopub.status.idle": "2025-07-02T07:56:23.212284Z",
"shell.execute_reply": "2025-07-02T07:56:23.211376Z",
"shell.execute_reply.started": "2025-07-02T07:56:23.192125Z"
"iopub.execute_input": "2025-07-15T04:17:52.450721Z",
"iopub.status.busy": "2025-07-15T04:17:52.449970Z",
"iopub.status.idle": "2025-07-15T04:17:52.467224Z",
"shell.execute_reply": "2025-07-15T04:17:52.466044Z",
"shell.execute_reply.started": "2025-07-15T04:17:52.450647Z"
},
"tags": []
},
@@ -27,7 +27,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2 ok\n"
"3 ok\n"
]
}
],
@@ -47,7 +47,10 @@
" dict1 = {}\n",
" dict1['name'] = sheet.cell(n, 2).value\n",
" dict1['sex'] = sheet.cell(n, 3).value\n",
" dict1['unit'] = ' '#sheet.cell(n, 2).value \n",
" if sheet.cell(n,4).value is not None:\n",
" dict1['unit'] = sheet.cell(n, 4).value\n",
" else:\n",
" dict1['unit'] = ''\n",
" dict1['birth'] = str(sheet.cell(n, 5).value).replace('/','-').split(' ')[0]\n",
" #dict1['phone'] = sheet.cell(n, 12).value \n",
" person[code] = dict1\n",
@@ -67,15 +70,15 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 22,
"id": "970e171e-1360-448f-a28c-520ccb8f314a",
"metadata": {
"execution": {
"iopub.execute_input": "2025-07-02T07:56:26.747275Z",
"iopub.status.busy": "2025-07-02T07:56:26.746522Z",
"iopub.status.idle": "2025-07-02T07:56:26.758502Z",
"shell.execute_reply": "2025-07-02T07:56:26.757404Z",
"shell.execute_reply.started": "2025-07-02T07:56:26.747205Z"
"iopub.execute_input": "2025-07-15T04:17:54.693914Z",
"iopub.status.busy": "2025-07-15T04:17:54.692725Z",
"iopub.status.idle": "2025-07-15T04:17:54.703956Z",
"shell.execute_reply": "2025-07-15T04:17:54.702901Z",
"shell.execute_reply.started": "2025-07-15T04:17:54.693844Z"
},
"tags": []
},
@@ -84,7 +87,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2\n"
"1\n"
]
}
],
@@ -98,7 +101,7 @@
"filename = 'data/新疆油田采油工艺研究院.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n",
"filename = 'data/marks_20250702.csv'\n",
"filename = 'data/marks_20250715.csv'\n",
"re_ta = My.get_result(filename,dict1)\n",
"\n",
"\n",
@@ -118,15 +121,15 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 23,
"id": "0905ad6a-f7e4-43ed-ae29-c4850deb946b",
"metadata": {
"execution": {
"iopub.execute_input": "2025-07-02T07:56:29.423717Z",
"iopub.status.busy": "2025-07-02T07:56:29.422959Z",
"iopub.status.idle": "2025-07-02T07:56:29.434498Z",
"shell.execute_reply": "2025-07-02T07:56:29.433382Z",
"shell.execute_reply.started": "2025-07-02T07:56:29.423642Z"
"iopub.execute_input": "2025-07-15T04:17:57.064201Z",
"iopub.status.busy": "2025-07-15T04:17:57.063428Z",
"iopub.status.idle": "2025-07-15T04:17:57.077018Z",
"shell.execute_reply": "2025-07-15T04:17:57.075783Z",
"shell.execute_reply.started": "2025-07-15T04:17:57.064131Z"
}
},
"outputs": [
@@ -368,15 +371,15 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 24,
"id": "23ffd115-72a3-4f90-9e64-ffa6420df8a4",
"metadata": {
"execution": {
"iopub.execute_input": "2025-07-02T07:56:40.122932Z",
"iopub.status.busy": "2025-07-02T07:56:40.122167Z",
"iopub.status.idle": "2025-07-02T07:56:41.662219Z",
"shell.execute_reply": "2025-07-02T07:56:41.661217Z",
"shell.execute_reply.started": "2025-07-02T07:56:40.122861Z"
"iopub.execute_input": "2025-07-15T04:18:02.549898Z",
"iopub.status.busy": "2025-07-15T04:18:02.549192Z",
"iopub.status.idle": "2025-07-15T04:18:03.406607Z",
"shell.execute_reply": "2025-07-15T04:18:03.405390Z",
"shell.execute_reply.started": "2025-07-15T04:18:02.549834Z"
}
},
"outputs": [
@@ -384,7 +387,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"2\n"
"1\n"
]
}
],