20230506
This commit is contained in:
1 parent
89ae72f87e
commit
3c8e9c5157
8 files changed
+728
-191
No files matched your search
+15
-15
@@ -149,15 +149,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 37,
|
||||
"execution_count": 42,
|
||||
"id": "97d86ce2-6664-41a1-89d2-ddaa0611bac1",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-04-27T07:07:54.855417Z",
|
||||
"iopub.status.busy": "2023-04-27T07:07:54.854561Z",
|
||||
"iopub.status.idle": "2023-04-27T07:07:54.933949Z",
|
||||
"shell.execute_reply": "2023-04-27T07:07:54.932922Z",
|
||||
"shell.execute_reply.started": "2023-04-27T07:07:54.855376Z"
|
||||
"iopub.execute_input": "2023-05-05T13:31:23.049611Z",
|
||||
"iopub.status.busy": "2023-05-05T13:31:23.048757Z",
|
||||
"iopub.status.idle": "2023-05-05T13:31:23.590103Z",
|
||||
"shell.execute_reply": "2023-05-05T13:31:23.589419Z",
|
||||
"shell.execute_reply.started": "2023-05-05T13:31:23.049566Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -168,7 +168,7 @@
|
||||
"\n",
|
||||
"items = ['身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
|
||||
"title = ['编号','姓名','性别','单位','身高','体重','肺活量','握力','坐位体前屈','纵跳','俯卧撑','一分钟仰卧起坐','单脚站立','选择反应时','台阶指数']\n",
|
||||
"filename = 'data/result_石家庄(20230427).json'\n",
|
||||
"filename = 'data/result_石家庄.json'\n",
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl)\n",
|
||||
"\n",
|
||||
@@ -192,7 +192,7 @@
|
||||
" else:\n",
|
||||
" list2.append('') \n",
|
||||
" list1.append(list2)\n",
|
||||
"filename = 'data/石家庄石化体测情况表(20230427).xlsx'\n",
|
||||
"filename = 'data/石家庄石化体测情况表.xlsx'\n",
|
||||
"wb = openpyxl.Workbook()\n",
|
||||
"sheet = wb.active\n",
|
||||
"sheet.append(title)\n",
|
||||
@@ -212,15 +212,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 38,
|
||||
"execution_count": 41,
|
||||
"id": "e2b68cb1-3a6f-4b51-afbd-d6c9634348b1",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-04-27T07:10:23.308568Z",
|
||||
"iopub.status.busy": "2023-04-27T07:10:23.307717Z",
|
||||
"iopub.status.idle": "2023-04-27T07:10:23.593399Z",
|
||||
"shell.execute_reply": "2023-04-27T07:10:23.592690Z",
|
||||
"shell.execute_reply.started": "2023-04-27T07:10:23.308525Z"
|
||||
"iopub.execute_input": "2023-05-05T13:30:29.397704Z",
|
||||
"iopub.status.busy": "2023-05-05T13:30:29.396865Z",
|
||||
"iopub.status.idle": "2023-05-05T13:30:29.654357Z",
|
||||
"shell.execute_reply": "2023-05-05T13:30:29.653607Z",
|
||||
"shell.execute_reply.started": "2023-05-05T13:30:29.397657Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -253,7 +253,7 @@
|
||||
"with open(filename,'r') as fl:\n",
|
||||
" dict1 = json.load(fl) \n",
|
||||
"\n",
|
||||
"filename = 'data/places_result_20230427-sjz-all.csv'\n",
|
||||
"filename = 'data/places_result_20230505-sjz.csv'\n",
|
||||
"with open(filename,'r',newline='') as csv_file:\n",
|
||||
" fl = csv.reader(csv_file,delimiter=',')\n",
|
||||
" header = next(fl) \n",
|
||||
|
||||
Reference in new issue
Block a user