20240103
This commit is contained in:
1 parent
996379d3cb
commit
5e368c4b76
4 files changed
+501
-320
No files matched your search
+7
-7
@@ -11,15 +11,15 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 2,
|
||||
"id": "bbba6efc-73cd-4db6-bae7-014724fee731",
|
||||
"metadata": {
|
||||
"execution": {
|
||||
"iopub.execute_input": "2023-11-28T02:30:49.403409Z",
|
||||
"iopub.status.busy": "2023-11-28T02:30:49.403129Z",
|
||||
"iopub.status.idle": "2023-11-28T02:30:49.433515Z",
|
||||
"shell.execute_reply": "2023-11-28T02:30:49.432950Z",
|
||||
"shell.execute_reply.started": "2023-11-28T02:30:49.403391Z"
|
||||
"iopub.execute_input": "2024-01-03T14:01:30.065117Z",
|
||||
"iopub.status.busy": "2024-01-03T14:01:30.064639Z",
|
||||
"iopub.status.idle": "2024-01-03T14:01:30.153986Z",
|
||||
"shell.execute_reply": "2024-01-03T14:01:30.153535Z",
|
||||
"shell.execute_reply.started": "2024-01-03T14:01:30.065060Z"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
@@ -53,7 +53,7 @@
|
||||
" dict1['id'] = sheet.cell(n,5).value\n",
|
||||
" id = str(sheet.cell(n,5).value)\n",
|
||||
" birth = id[6:10]+'-'+ id[10:12]+'-' +id[12:14]\n",
|
||||
" dict1['birth'] = birth\n",
|
||||
" dict1['birth'] = sheet.cell(n,9).value\n",
|
||||
" person[code] = dict1\n",
|
||||
"filename = 'data/中国石化化工销售.json'\n",
|
||||
"with open(filename, 'w') as fl:\n",
|
||||
|
||||
Reference in new issue
Block a user