20251124
This commit is contained in:
1 parent
4f0f65a076
commit
aff0303bc9
5 files changed
+2192
-1715
No files matched your search
+63
-39
@@ -80,17 +80,25 @@
|
||||
"print(len(person),'ok')"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "2ce125a6-a42f-4dd1-8c9c-a6a4ebcfce65",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## 体测人员导入(2025年11月)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 6,
|
||||
"id": "cac3736a-56da-403b-9e62-5caaf989a6d4",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-17T14:38:09.521433Z",
|
||||
"iopub.status.busy": "2025-11-17T14:38:09.520770Z",
|
||||
"iopub.status.idle": "2025-11-17T14:38:11.569824Z",
|
||||
"shell.execute_reply": "2025-11-17T14:38:11.569224Z",
|
||||
"shell.execute_reply.started": "2025-11-17T14:38:09.521373Z"
|
||||
"iopub.execute_input": "2025-11-21T02:48:24.228686Z",
|
||||
"iopub.status.busy": "2025-11-21T02:48:24.228035Z",
|
||||
"iopub.status.idle": "2025-11-21T02:48:26.022844Z",
|
||||
"shell.execute_reply": "2025-11-21T02:48:26.022393Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:48:24.228627Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -98,7 +106,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"82 ok\n"
|
||||
"96 ok\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -195,15 +203,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"execution_count": 8,
|
||||
"id": "925f7152-b365-4df8-8d98-73569aef68f8",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-17T14:38:34.526723Z",
|
||||
"iopub.status.busy": "2025-11-17T14:38:34.525935Z",
|
||||
"iopub.status.idle": "2025-11-17T14:38:34.542026Z",
|
||||
"shell.execute_reply": "2025-11-17T14:38:34.541025Z",
|
||||
"shell.execute_reply.started": "2025-11-17T14:38:34.526661Z"
|
||||
"iopub.execute_input": "2025-11-21T02:51:03.993610Z",
|
||||
"iopub.status.busy": "2025-11-21T02:51:03.993034Z",
|
||||
"iopub.status.idle": "2025-11-21T02:51:04.009834Z",
|
||||
"shell.execute_reply": "2025-11-21T02:51:04.008842Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:51:03.993560Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -211,7 +219,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"40\n"
|
||||
"48\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -225,7 +233,7 @@
|
||||
"filename = 'data/新疆油田采油工艺研究院-202511.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"filename = 'data/marks_20251117-3.csv'\n",
|
||||
"filename = 'data/marks_20251121-1.csv'\n",
|
||||
"re_ta = My.get_result(filename,dict1)\n",
|
||||
"\n",
|
||||
"\n",
|
||||
@@ -245,10 +253,26 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 9,
|
||||
"id": "0905ad6a-f7e4-43ed-ae29-c4850deb946b",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-21T02:51:14.528104Z",
|
||||
"iopub.status.busy": "2025-11-21T02:51:14.527417Z",
|
||||
"iopub.status.idle": "2025-11-21T02:51:14.544192Z",
|
||||
"shell.execute_reply": "2025-11-21T02:51:14.543168Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:51:14.528044Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"ok!\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"import json\n",
|
||||
"import time\n",
|
||||
@@ -287,15 +311,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"execution_count": 11,
|
||||
"id": "0e71f6b8-e17e-49f8-a577-7a2eb6f5e994",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-17T14:38:58.670424Z",
|
||||
"iopub.status.busy": "2025-11-17T14:38:58.669763Z",
|
||||
"iopub.status.idle": "2025-11-17T14:38:58.683725Z",
|
||||
"shell.execute_reply": "2025-11-17T14:38:58.682758Z",
|
||||
"shell.execute_reply.started": "2025-11-17T14:38:58.670352Z"
|
||||
"iopub.execute_input": "2025-11-21T02:54:29.164196Z",
|
||||
"iopub.status.busy": "2025-11-21T02:54:29.163638Z",
|
||||
"iopub.status.idle": "2025-11-21T02:54:29.182035Z",
|
||||
"shell.execute_reply": "2025-11-21T02:54:29.181011Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:54:29.164147Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -664,15 +688,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 4,
|
||||
"execution_count": 10,
|
||||
"id": "83872322-129c-410d-a9a3-ef6f4fe8dcde",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-17T14:41:08.300902Z",
|
||||
"iopub.status.busy": "2025-11-17T14:41:08.300597Z",
|
||||
"iopub.status.idle": "2025-11-17T14:41:08.314893Z",
|
||||
"shell.execute_reply": "2025-11-17T14:41:08.314440Z",
|
||||
"shell.execute_reply.started": "2025-11-17T14:41:08.300875Z"
|
||||
"iopub.execute_input": "2025-11-21T02:53:17.422865Z",
|
||||
"iopub.status.busy": "2025-11-21T02:53:17.422300Z",
|
||||
"iopub.status.idle": "2025-11-21T02:53:17.441843Z",
|
||||
"shell.execute_reply": "2025-11-21T02:53:17.441201Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:53:17.422814Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -680,7 +704,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"40\n"
|
||||
"48\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -692,7 +716,7 @@
|
||||
"from datetime import date\n",
|
||||
"\n",
|
||||
"list1 = []\n",
|
||||
"filename = 'data/sql_20251117-1.csv'\n",
|
||||
"filename = 'data/sql_20251121.csv'\n",
|
||||
"with open(filename,'r',newline='') as csv_file:\n",
|
||||
" fl = csv.reader(csv_file,delimiter=',')\n",
|
||||
" header = next(fl) \n",
|
||||
@@ -823,15 +847,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 5,
|
||||
"execution_count": 12,
|
||||
"id": "694ad38e-755e-4885-94a9-c157ddc96564",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2025-11-17T14:42:09.546636Z",
|
||||
"iopub.status.busy": "2025-11-17T14:42:09.546054Z",
|
||||
"iopub.status.idle": "2025-11-17T14:42:32.426068Z",
|
||||
"shell.execute_reply": "2025-11-17T14:42:32.424869Z",
|
||||
"shell.execute_reply.started": "2025-11-17T14:42:09.546580Z"
|
||||
"iopub.execute_input": "2025-11-21T02:55:17.019680Z",
|
||||
"iopub.status.busy": "2025-11-21T02:55:17.019091Z",
|
||||
"iopub.status.idle": "2025-11-21T02:55:45.001413Z",
|
||||
"shell.execute_reply": "2025-11-21T02:55:45.000749Z",
|
||||
"shell.execute_reply.started": "2025-11-21T02:55:17.019625Z"
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
@@ -839,7 +863,7 @@
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"40\n"
|
||||
"48\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user