20220501
This commit is contained in:
1 parent
c7c2fb4208
commit
4611fae329
1 file changed
+41
-40
+41
-40
@@ -845,15 +845,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 20,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2021-12-17T01:17:00.335807Z",
|
|
||||||
"iopub.status.busy": "2021-12-17T01:17:00.334807Z",
|
|
||||||
"iopub.status.idle": "2021-12-17T01:17:00.469071Z",
|
|
||||||
"shell.execute_reply": "2021-12-17T01:17:00.469071Z",
|
|
||||||
"shell.execute_reply.started": "2021-12-17T01:17:00.335807Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -891,15 +884,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 22,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2021-12-17T01:40:10.503538Z",
|
|
||||||
"iopub.status.busy": "2021-12-17T01:40:10.503538Z",
|
|
||||||
"iopub.status.idle": "2021-12-17T01:40:10.673044Z",
|
|
||||||
"shell.execute_reply": "2021-12-17T01:40:10.672043Z",
|
|
||||||
"shell.execute_reply.started": "2021-12-17T01:40:10.503538Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -934,15 +920,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 25,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2021-12-17T02:50:20.560344Z",
|
|
||||||
"iopub.status.busy": "2021-12-17T02:50:20.560344Z",
|
|
||||||
"iopub.status.idle": "2021-12-17T02:50:21.226478Z",
|
|
||||||
"shell.execute_reply": "2021-12-17T02:50:21.226478Z",
|
|
||||||
"shell.execute_reply.started": "2021-12-17T02:50:20.560344Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -996,15 +975,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 27,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2021-12-17T03:08:55.050632Z",
|
|
||||||
"iopub.status.busy": "2021-12-17T03:08:55.050632Z",
|
|
||||||
"iopub.status.idle": "2021-12-17T03:08:55.843287Z",
|
|
||||||
"shell.execute_reply": "2021-12-17T03:08:55.843287Z",
|
|
||||||
"shell.execute_reply.started": "2021-12-17T03:08:55.050632Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -1050,15 +1022,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 29,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"execution": {
|
|
||||||
"iopub.execute_input": "2021-12-17T03:18:41.399609Z",
|
|
||||||
"iopub.status.busy": "2021-12-17T03:18:41.398609Z",
|
|
||||||
"iopub.status.idle": "2021-12-17T03:18:41.467625Z",
|
|
||||||
"shell.execute_reply": "2021-12-17T03:18:41.466624Z",
|
|
||||||
"shell.execute_reply.started": "2021-12-17T03:18:41.399609Z"
|
|
||||||
},
|
|
||||||
"tags": []
|
"tags": []
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@@ -1166,6 +1131,35 @@
|
|||||||
"\n"
|
"\n"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "markdown",
|
||||||
|
"metadata": {},
|
||||||
|
"source": [
|
||||||
|
"## excel数据读取"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {
|
||||||
|
"tags": []
|
||||||
|
},
|
||||||
|
"outputs": [],
|
||||||
|
"source": [
|
||||||
|
"import openpyxl\n",
|
||||||
|
"import json\n",
|
||||||
|
"\n",
|
||||||
|
"filename = 'data/长岭全成绩.xlsx'\n",
|
||||||
|
"wb = openpyxl.load_workbook(filename)\n",
|
||||||
|
"sheet = wb.active\n",
|
||||||
|
"data1 =list(sheet.values)\n",
|
||||||
|
"del data1[0]\n",
|
||||||
|
"print(data1)\n",
|
||||||
|
"#for data in data1:\n",
|
||||||
|
"# print(data)\n",
|
||||||
|
"\n"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
@@ -1186,6 +1180,13 @@
|
|||||||
"print(collist)"
|
"print(collist)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"cell_type": "code",
|
||||||
|
"execution_count": null,
|
||||||
|
"metadata": {},
|
||||||
|
"outputs": [],
|
||||||
|
"source": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
|
|||||||
Reference in new issue
Block a user