We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb155d0 commit e43265cCopy full SHA for e43265c
3 files changed
Data/test.csv
@@ -0,0 +1,7 @@
1
+name,column1,column2,column3
2
+abc,1.1,4.2,1.2
3
+def,2.1,1.4,5.2
4
+ghi,1.5,1.2,2.1
5
+jkl,1.8,1.1,4.2
6
+mno,9.4,6.6,6.2
7
+pqr,1.4,8.3,8.4
Data/test_marked.csv
+abc,1.1^,4.2,1.2^
+jkl,1.8,1.1^,4.2
+mno,9.4*,6.6,6.2
+pqr,1.4,8.3*,8.4*
tutorials/sorting_csvs.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:c498612c4d414160d8e015bc6858051328e51cd00e56b3215dca53652ee7c936"
+ "signature": "sha256:683cfd7e6b5fd1dca9cd2028b294ec8ae44a175b613eb3c037d365a28957a987"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -133,12 +133,9 @@
133
" in the sublist represents 1 cell in the table.\n",
134
" \n",
135
" \"\"\"\n",
136
- " csv_content = []\n",
137
" with open(csv_file, 'r') as csv_con:\n",
138
" reader = csv.reader(csv_con, delimiter=delimiter)\n",
139
- " for row in reader:\n",
140
- " csv_content.append(row)\n",
141
- " return csv_content"
+ " return list(reader)"
142
],
143
"language": "python",
144
"metadata": {},
@@ -169,7 +166,7 @@
169
166
]
170
167
}
171
168
172
- "prompt_number": 4
+ "prompt_number": 3
173
174
175
"cell_type": "markdown",
@@ -215,7 +212,7 @@
215
212
216
213
217
214
"outputs": [],
218
- "prompt_number": 2
+ "prompt_number": 4
219
220
221
"cell_type": "code",
@@ -248,7 +245,7 @@
248
245
249
246
250
247
251
- "prompt_number": 3
+ "prompt_number": 5
252
253
254
0 commit comments