This commit is contained in:
512song committed 2023-11-29 20:16:24 +08:00
1 parent 9a4fd0cfe8
commit 1a04faf622
3 files changed
+545 -209

No files matched your search

+42 -6
View File
@@ -53,12 +53,27 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "dc0a78bb-ce82-4f6d-ba53-8bd9655f39af",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-28T08:21:51.973825Z",
"iopub.status.busy": "2023-11-28T08:21:51.973366Z",
"iopub.status.idle": "2023-11-28T08:21:52.110628Z",
"shell.execute_reply": "2023-11-28T08:21:52.110182Z",
"shell.execute_reply.started": "2023-11-28T08:21:51.973788Z"
},
"tags": []
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"26\n"
]
}
],
"source": [
"import json\n",
"import csv\n",
@@ -72,7 +87,7 @@
"\n",
"\n",
"list1 = []\n",
"filename = 'data/Survey_20231121.csv'\n",
"filename = 'data/Survey_20231128.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",
@@ -116,12 +131,33 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "5b646b5d-c4f6-4d37-9510-30fcbef44855",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-28T08:22:06.586472Z",
"iopub.status.busy": "2023-11-28T08:22:06.586205Z",
"iopub.status.idle": "2023-11-28T08:22:06.590979Z",
"shell.execute_reply": "2023-11-28T08:22:06.590514Z",
"shell.execute_reply.started": "2023-11-28T08:22:06.586440Z"
},
"tags": []
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"13501017366 程大庆\n",
"13910270600 袁正东\n",
"13501017663 李志玖\n",
"13901363461 陈学军\n",
"13911795921 祁向东\n",
"18600419150 鲁兴隆\n",
"17316020604 刘凡\n"
]
}
],
"source": [
"import json\n",
"import csv\n",
@@ -133,7 +169,7 @@
"\n",
"\n",
"list1 = []\n",
"filename = 'data/Survey_20231121.csv'\n",
"filename = 'data/Survey_20231128.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n",